Jump to content
  • 0

Won't install via .exe, file not found.


Question

Posted

Launcher Version: 1.0.1.0

Operating System: Windows 7 64bit

Java Version: Java 1.7u4 64bit

Antivirus Program: AVG Free Trial, Firewall disabled.

Description of Problem:

Having no traces of the Technic Launcher at all, (Including .techniclauncher) and using a fresh installation of the Java pointed to at the Technic Launcher's main site (1.7u4 64bit) I downloaded the .exe. (Via Google Chrome)

When I ran it, it started off with 'Downloading Launcher (0/3)..' then 'Downloaded __% of Launcher' after that it says 'Running Launcher' At which point I get an error message saying,

'Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continure. If you click Quit, the application will close immediately.

The system cannot find the file specified.'

And it presents me with three options: Details, Continue, Quit. Details are provided in 'Error Message'

Clicking Continue keeps the window saying 'Running Launcher' open, but nothing happens. Quit closes it. Looking into the .techniclauncher folder, there is just the .jar file.

Error Messages:

************** Exception Text **************

System.ComponentModel.Win32Exception: The system cannot find the file specified

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

at TechnicLauncher.Program.RunLauncher(String launcherPath)

at TechnicLauncher.Form1.DownloadFileCompleted(Object sender, AsyncCompletedEventArgs e)

************** Loaded Assemblies **************

mscorlib

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4971 (win7RTMGDR.050727-4900)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

----------------------------------------

TechnicLauncher

Assembly Version: 1.0.1.0

Win32 Version: 1.0.1.0

CodeBase: file:///C:/Users/WIN%207/Downloads/TechnicLauncher.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4977 (win7RTMGDR.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4971 (win7RTMGDR.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4980 (win7RTMGDR.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

Error Log:


 

18 answers to this question

Recommended Posts

  • 0
Posted

1) Remove AVG entirely. It often causes problems with the launcher even when disabled.

2) Run the launcher .jar instead of the .exe, using right-click > Run with Java.

  • 0
Posted

AVG is uninstalled.

When I tried opening the .jar file that the .exe downloaded (with Java), a black window (similar to cmd.exe) opened for a fraction of a second, and closed again.

The same happened with a fresh download of the .jar.

  • 0
Posted

Add Java to your system path variable. It's likely that the launcher can't find your copy of Java for whatever reason. Otherwise, run the .jar with a batch file that includes the path to Java. Add "pause" as a 2nd line if you'd like to see the cmd window. Copy the batch file out of the server software and change the file name if you don't know how to create one yourself.

  • 0
Posted

Adding java to your system path:

Open the Start menu

Right-click ''Computer'' and click ''Properties''

Select ''Advanced system settings'' and find the ''Environmental Variavles'' button at the bottom. Click it

In the bottom frame scroll down till you find a ''Variable'' called ''Path''. Double click this

Press the [End] key on your keyboard and add this to the end:


;C:\Program Files\Java\jre7\lib



 

If done correctly, you should be able to use this command in CMD (You should actually try this FIRST to see if it's not working already...):



java -version



 

It should look something like this:

 



C:\Users\Rainbow>java -version

java version "1.7.0_05"

Java SE Runtime Environment (build 1.7.0_05-b05)

Java HotSpot 64-Bit Server VM (build 23.1-b03, mixed mode)

Please note, this only applies if you have the 64-bit version of java7 installed. Check to see which version you got by going to the "Uninstalled programs" thing in Control Panel. It should list which version if Java you got installed there.

The '';'' symbol separates each path.

Some also state that you need something called a ''Class path'' but i've never needed it myself...

  • 0
Posted

Okay, I added the code to the end of the Path variable. (Not sure it this is important, but the code says 'jre7' when my folder is called 'jre1.7.0_04')

Checked the uninstall panel, I apparently have:

Java SE Development Kit 7 Update 5 (64-bit)

Java 6 Update 31

Java 6 Update 31 (64-bit)

Java 7 Update 4 (64-bit)

Java 7 Update 5 (64-bit)

JavaFX 2.1.1 (64-bit)

JavaFX 2.1.1 SDK (64-bit)

Running 'java -version' in CMD says: 'java is not recognized as an internal or external command, operable program or batch file.'

I notice that you (Rainbow) Have version 1.7.0_05, when mine is 1.7.0_04.

I also tried messing around with batch files before Rainbow Dash came, and looking around a bit on Google. Haven't used batch files before, and couldn't get it to work. I tried using the code Freakachu posted in one of the [Fix] posts, (changing the path from jre6 to jre1.7.0_04) but it didn't work, for some reason creating the folders '7\AppData\Roaming\.techniclauncher\rtemp' on my Desktop.

Not sure what you (Torezu) meant about the server software.

Thank you very much for sticking with me and trying to help, your attempts are much appreciated.

  • 0
Posted

After changing it to \bin it now works in cmd.

java version "1.7.0_04"

Java SE Runtime Environment (build 1.7.0_04-b22)

Java HotSpot 64-bit Server VM (build 23.0-b21, mixed mode)

The .exe still has the same error from earlier, as does the .jar

  • 0
Posted

Okay, I think I might understand what you meant by the server software.

I've downloaded the server .zip from the website, taken the batch file 'Launch' and put it into .techniclauncher.

I've changed the code to

java -Xmx3G -Xms2G -jar technic-launcher

pause


Doing this, it says


Error: Unable to access jarfile technic-launcher

C:\Users\WIN 7\AppData\Roaming\.techniclauncher>pause

I'm guessing I should remove the Pause from the code?

I'll try that now

[EDIT] Guess not, that just did what removing pause normally does

  • 0
Posted

My bad... bin, of course it's bin! Also damn, same issue?

The issue you present with the jre7 folder having an entirely different name sounds too familiar to me. I ran into this issue when upgrading a MDM system at work. I'd reinstall Java 7 entirely. May I also suggest installing Update 5 instead?

EDIT: I don't want to suggest this, but you could ''consider'' also removing the versions of java which you do not need for this. I don't want to suggest that because of the implications it could have on other software on your system that might require it... It's just a thought though, although it should be unnecessary!

  • 0
Posted

Alright! Changing the code to

java -Xmx3G -Xms2G -jar technic-launcher.jar

pause

(Adding the .jar at the end) and running the batch file, now opened the Technic Launcher and created four folders (cache, launcher, logs, temp) as well as a properties file called 'launcher'

  • 0
Posted

Okay, it installed Tekkit and opened it.

I created a new world, and the second I came in, it said 'Saving Chunks' and crashed. I opened it up again and went into the world, where things seem to be working fine. Checked f3 to see how it was doing. (While standing still)

Used memory starts at ~17% and increases slowly to ~41% then pops back to ~17% and repeats. [EDIT] Out of 910MB apparently. Also the game allocated more memory (46%, 424MB now)

Allocated memory is 45% (417MB)

Since it gets so close, is there a danger of crashing? Should I allocate more memory through the launcher?

I'll try playing around a bit to see if it crashes again

  • 0
Posted

I've never had an issue with the default memory allocation value. You should be safe... if an issue occurs just make a thread about it - as it will be a different issue. Remember to include the logs!

Glad you got it working.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...