Jump to content
  • 0

Incorrect Java being used, Update Failed! [fix]


Question

Posted

ok, well, I have no experience with programming at all, how would I make a batch file to run minecraft specifically with java 6?

Mod Note: The following information is offered AS IS and we can not officially support it since we haven't had to do it and can't test it. It's there for anyone who wants to try it.

  • Answers 124
  • Created
  • Last Reply

Top Posters For This Question

Recommended Posts

  • 0
Posted

The problem I'm having is completely my fault, and I've tried everything. I accidentaly set my technic-latest-jar (And every .jar file on my computer) to open with the wrong program, now I can't find the right program. I've tried every executable file in both java 6 and java 7. .exe never worked for me, and I would REALLY like to fix this. I've also tried a lot of the solutions here, (almost all) that applied to this problem, and they don't work. I actually got a dropbox account and put important files in there to prepare to reset this account. I don't really want to do that and would LOVE some help. I created this forum account just to get help. I just need the exact path for the program, or a way to just reset the settings for the .jar files. (Also, minecraft is working fine, It's just the technic-latest.jar, so I was wondering if making a .exe file to launch the .jar file would fix it.

On my PC (german locale, WinXP 32bit) the program to open .jar with is set to C:\Programme\Java\jre7\bin\javaw.exe

Exporting the relevant part of my registry to a .reg file:


Windows Registry Editor Version 5.00



[HKEY_CLASSES_ROOT\jarfile\shell\open\command]

@="\"C:\\Programme\\Java\\jre7\\bin\\javaw.exe\" -jar \"%1\" %*"

Since you tried every .exe, probably that -jar option isn't there for you. Maybe try reinstalling the JRE or manually editing the registry (ONLY if you know what to do).

  • 0
Posted · Hidden
Hidden

I need help i am trying to put this on my server and when you click the launch batch file it says "

C:\Users\Home\Desktop\tekkit>java -Xmx3G -Xms2G -jar Tekkit.jar nogui

Error occurred during initialization of VM

Could not reserve enough space for object heap

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

C:\Users\Home\Desktop\tekkit>pause

Press any key to continue . . ."

if you can help plaese explain i am using 3.0.4 and i recently(today) updated my Java.

  • 0
Posted · Hidden
Hidden

I have got the error update failed. I have never played technic before and this is a serious pain. I have spent at least an hour reading everything I can but still it doesnt work. Deleted all my anit virus software, removed and reinstalled the latest Java and minecraft. What more can I do.

  • 0
Posted

Ok freakachu i did the .bat instructions right and it allowed me to continue to the mojang icon after clicking the login icon. After a few seconds at the mojang icon it crashes. What do i do?

  • 0
Posted

I have got the error update failed. I have never played technic before and this is a serious pain. I have spent at least an hour reading everything I can but still it doesnt work. Deleted all my anit virus software, removed and reinstalled the latest Java and minecraft. What more can I do.

provide some useful info like system specs, OS version, launcher version, and log files. preferably in a separate thread.

Ok freakachu i did the .bat instructions right and it allowed me to continue to the mojang icon after clicking the login icon. After a few seconds at the mojang icon it crashes. What do i do?

then java isn't your only issue. make a thread in the appropriate bug board for whichever back you're having this problem on

Still failing when I'm running the fix. Download Failed.

then clearly this was not the problem you had in the first place. make a thread with the relevant info as listed above.

  • 0
Posted

Re: Re: Update Failed!

you basically just have to tell it to use the right java.exe. in the case of java6, the default install path should be C:\Program Files\Java\jre6\bin\java.exe

I typed out a bunch of stuff explaining what you should put in the batch file, but in the end it will be way simpler if I just give you some lines to copy/paste

mkdir %APPDATA%\.techniclauncher\rtemp

"C:\program files\java\jre6\bin\java.exe" -Xmx1G -jar %APPDATA%\.techniclauncher\technic-launcher.jar

there you go. google batch files to find out how you make them, it's very very simple and needs no programing knowledge.

I get this errors in the console:

'

[15:59:46] [sEVERE]    [MD5 Mismatch] File '\launcher\hackslashmine\resources\l

ogo.png' has md5 of 'c8245a967bdbb9560bd3668327a738ba' instead of 'null'

[15:59:46] [sEVERE]    MD5 hash not found for 'hackslashmine/resources/icon.png

'

[15:59:46] [sEVERE]    [MD5 Mismatch] File '\launcher\hackslashmine\resources\i

con.png' has md5 of 'dba1052dab8409764e40cc81aa010f6f' instead of 'null'

[15:59:46] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/hackslashmine/resources/favicon.png', with 3 trie(s) remaining

[15:59:46] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/hackslashmine/resources/icon.png', with 3 trie(s) remaining

[15:59:46] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/hackslashmine/resources/logo.png', with 3 trie(s) remaining

[15:59:46] [sEVERE]    Copying: \temp\file8906749814972318210.tmp to: \launcher

\hackslashmine\resources\favicon.png

[15:59:46] [sEVERE]    File Downloaded: \launcher\hackslashmine\resources\favic

on.png

[16:00:07] [sEVERE]    java.lang.Exception: Unable to download file

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.async.Download.getCon

nectionInputStream(Download.java:161)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.async.Download.run(Do

wnload.java:63)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils.downloa

dFile(DownloadUtils.java:34)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils.downloa

dFile(DownloadUtils.java:77)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils$1.run(D

ownloadUtils.java:96)

[16:00:07] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.runTask(Unknown Source)

[16:00:07] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.run(Unknown Source)

[16:00:07] [sEVERE]            at java.lang.Thread.run(Unknown Source)

[16:00:07] [sEVERE]    Download of http://mirror.technicpack.net/Technic/hacksl

ashmine/resources/icon.png Failed!

[16:00:07] [sEVERE]    java.lang.Exception: Unable to download file

[16:00:07] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/hackslashmine/resources/icon.png', with 2 trie(s) remaining

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.async.Download.getCon

nectionInputStream(Download.java:161)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.async.Download.run(Do

wnload.java:63)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils.downloa

dFile(DownloadUtils.java:34)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils.downloa

dFile(DownloadUtils.java:77)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils$1.run(D

ownloadUtils.java:96)

[16:00:07] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.runTask(Unknown Source)

[16:00:07] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.run(Unknown Source)

[16:00:07] [sEVERE]            at java.lang.Thread.run(Unknown Source)

[16:00:07] [sEVERE]    Download of http://mirror.technicpack.net/Technic/hacksl

ashmine/resources/logo.png Failed!

[16:00:07] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/hackslashmine/resources/logo.png', with 2 trie(s) remaining

[16:00:08] [sEVERE]    Copying: \temp\file7338749809917929707.tmp to: \launcher

\hackslashmine\resources\icon.png

[16:00:08] [sEVERE]    File Downloaded: \launcher\hackslashmine\resources\icon.

png

[16:00:09] [sEVERE]    Copying: \temp\file7393137057480158148.tmp to: \launcher

\hackslashmine\resources\logo.png

[16:00:09] [sEVERE]    File Downloaded: \launcher\hackslashmine\resources\logo.

png

[16:00:09] [sEVERE]    [MD5 Mismatch] File '\launcher\tekkit\modpack.yml' has m

d5 of 'e16f7f6f0454999313947b0cb9a880d0' instead of '1b40ec4a42ec16ecf5407bb6e41

8c9ba'

[16:00:09] [sEVERE]    [info] Downloading 'modpack.yml' from 'http://mirror.tec

hnicpack.net/Technic/tekkit/modpack.yml'.

[16:00:09] [sEVERE]    [info] Downloading 'minecraft.yml' from 'http://mirror.t

echnicpack.net/Technic/minecraft.yml'.

[16:00:13] [sEVERE]    java.lang.NullPointerException

[16:00:13] [sEVERE]            at org.spoutcraft.launcher.ModpackBuild.getSpout

craftBuild(ModpackBuild.java:103)

[16:00:13] [sEVERE]            at org.spoutcraft.launcher.GameUpdater.checkMCUp

date(GameUpdater.java:205)

[16:00:13] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:770)

[16:00:13] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:1)

[16:00:13] [sEVERE]            at javax.swing.SwingWorker$1.call(Unknown Source

)

[16:00:13] [sEVERE]            at java.util.concurrent.FutureTask$Sync.innerRun

(Unknown Source)

[16:00:13] [sEVERE]            at java.util.concurrent.FutureTask.run(Unknown S

ource)

[16:00:13] [sEVERE]            at javax.swing.SwingWorker.run(Unknown Source)

[16:00:13] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.runTask(Unknown Source)

[16:00:13] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.run(Unknown Source)

[16:00:13] [sEVERE]            at java.lang.Thread.run(Unknown Source)

[16:00:14] [sEVERE]    java.lang.NullPointerException

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.ModpackBuild.getSpout

craftBuild(ModpackBuild.java:103)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.GameUpdater.isSpoutcr

aftUpdateAvailable(GameUpdater.java:389)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:777)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:1)

[16:00:14] [sEVERE]            at javax.swing.SwingWorker$1.call(Unknown Source

)

[16:00:14] [sEVERE]            at java.util.concurrent.FutureTask$Sync.innerRun

(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.FutureTask.run(Unknown S

ource)

[16:00:14] [sEVERE]            at javax.swing.SwingWorker.run(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.runTask(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.run(Unknown Source)

[16:00:14] [sEVERE]            at java.lang.Thread.run(Unknown Source)

[16:00:14] [sEVERE]    java.lang.NullPointerException

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.ModpackBuild.getSpout

craftBuild(ModpackBuild.java:103)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.modpacks.ModPackUpdat

er.isModpackUpdateAvailable(ModPackUpdater.java:202)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:784)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:1)

[16:00:14] [sEVERE]            at javax.swing.SwingWorker$1.call(Unknown Source

)

[16:00:14] [sEVERE]            at java.util.concurrent.FutureTask$Sync.innerRun

(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.FutureTask.run(Unknown S

ource)

[16:00:14] [sEVERE]            at javax.swing.SwingWorker.run(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.runTask(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.run(Unknown Source)

[16:00:14] [sEVERE]            at java.lang.Thread.run(Unknown Source)

[16:00:14] [sEVERE]    Exception in thread "AWT-EventQueue-0"

[16:00:14] [sEVERE]    java.lang.NullPointerException

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.ModpackBuild.getSpout

craftBuild(ModpackBuild.java:103)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.Launcher.getMinecraft

Applet([15:59:43] [sEVERE]      ------------------------------------------

[15:59:43] [sEVERE]    Launcher is starting....

[15:59:43] [sEVERE]    Launcher Build: '1.0.1.3'

[15:59:43] [sEVERE]    Allocated 910.25 Mb of RAM

[15:59:43] [sEVERE]    Java VM: '1.6.0_31-b05'

[15:59:43] [sEVERE]    OS Version: '6.1'

[15:59:43] [sEVERE]    Is 64-bit: 'true'

[15:59:45] [sEVERE]    [info] Downloading 'mirrors.yml' from 'http://mirror.tec

hnicpack.net/Technic/mirrors.yml'.

[15:59:46] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/CHECKSUM.md5', with 3 trie(s) remaining

[15:59:46] [sEVERE]    Copying: \temp\file3731037274791631326.tmp to: \launcher

\CHECKSUM.md5

[15:59:46] [sEVERE]    File Downloaded: \launcher\CHECKSUM.md5

[15:59:46] [sEVERE]    MD5 hash not found for 'hackslashmine/resources/favicon.

png'

[15:59:46] [sEVERE]    [MD5 Mismatch] File '\launcher\hackslashmine\resources\f

avicon.png' has md5 of '6ac510b04af406f19c3ad8ea40c16090' instead of 'null'

[15:59:46] [sEVERE]    MD5 hash not found for 'hackslashmine/resources/logo.png

'

[15:59:46] [sEVERE]    [MD5 Mismatch] File '\launcher\hackslashmine\resources\l

ogo.png' has md5 of 'c8245a967bdbb9560bd3668327a738ba' instead of 'null'

[15:59:46] [sEVERE]    MD5 hash not found for 'hackslashmine/resources/icon.png

'

[15:59:46] [sEVERE]    [MD5 Mismatch] File '\launcher\hackslashmine\resources\i

con.png' has md5 of 'dba1052dab8409764e40cc81aa010f6f' instead of 'null'

[15:59:46] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/hackslashmine/resources/favicon.png', with 3 trie(s) remaining

[15:59:46] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/hackslashmine/resources/icon.png', with 3 trie(s) remaining

[15:59:46] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/hackslashmine/resources/logo.png', with 3 trie(s) remaining

[15:59:46] [sEVERE]    Copying: \temp\file8906749814972318210.tmp to: \launcher

\hackslashmine\resources\favicon.png

[15:59:46] [sEVERE]    File Downloaded: \launcher\hackslashmine\resources\favic

on.png

[16:00:07] [sEVERE]    java.lang.Exception: Unable to download file

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.async.Download.getCon

nectionInputStream(Download.java:161)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.async.Download.run(Do

wnload.java:63)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils.downloa

dFile(DownloadUtils.java:34)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils.downloa

dFile(DownloadUtils.java:77)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils$1.run(D

ownloadUtils.java:96)

[16:00:07] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.runTask(Unknown Source)

[16:00:07] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.run(Unknown Source)

[16:00:07] [sEVERE]            at java.lang.Thread.run(Unknown Source)

[16:00:07] [sEVERE]    Download of http://mirror.technicpack.net/Technic/hacksl

ashmine/resources/icon.png Failed!

[16:00:07] [sEVERE]    java.lang.Exception: Unable to download file

[16:00:07] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/hackslashmine/resources/icon.png', with 2 trie(s) remaining

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.async.Download.getCon

nectionInputStream(Download.java:161)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.async.Download.run(Do

wnload.java:63)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils.downloa

dFile(DownloadUtils.java:34)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils.downloa

dFile(DownloadUtils.java:77)

[16:00:07] [sEVERE]            at org.spoutcraft.launcher.DownloadUtils$1.run(D

ownloadUtils.java:96)

[16:00:07] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.runTask(Unknown Source)

[16:00:07] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.run(Unknown Source)

[16:00:07] [sEVERE]            at java.lang.Thread.run(Unknown Source)

[16:00:07] [sEVERE]    Download of http://mirror.technicpack.net/Technic/hacksl

ashmine/resources/logo.png Failed!

[16:00:07] [sEVERE]    Starting download of 'http://mirror.technicpack.net/Tech

nic/hackslashmine/resources/logo.png', with 2 trie(s) remaining

[16:00:08] [sEVERE]    Copying: \temp\file7338749809917929707.tmp to: \launcher

\hackslashmine\resources\icon.png

[16:00:08] [sEVERE]    File Downloaded: \launcher\hackslashmine\resources\icon.

png

[16:00:09] [sEVERE]    Copying: \temp\file7393137057480158148.tmp to: \launcher

\hackslashmine\resources\logo.png

[16:00:09] [sEVERE]    File Downloaded: \launcher\hackslashmine\resources\logo.

png

[16:00:09] [sEVERE]    [MD5 Mismatch] File '\launcher\tekkit\modpack.yml' has m

d5 of 'e16f7f6f0454999313947b0cb9a880d0' instead of '1b40ec4a42ec16ecf5407bb6e41

8c9ba'

[16:00:09] [sEVERE]    [info] Downloading 'modpack.yml' from 'http://mirror.tec

hnicpack.net/Technic/tekkit/modpack.yml'.

[16:00:09] [sEVERE]    [info] Downloading 'minecraft.yml' from 'http://mirror.t

echnicpack.net/Technic/minecraft.yml'.

[16:00:13] [sEVERE]    java.lang.NullPointerException

[16:00:13] [sEVERE]            at org.spoutcraft.launcher.ModpackBuild.getSpout

craftBuild(ModpackBuild.java:103)

[16:00:13] [sEVERE]            at org.spoutcraft.launcher.GameUpdater.checkMCUp

date(GameUpdater.java:205)

[16:00:13] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:770)

[16:00:13] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:1)

[16:00:13] [sEVERE]            at javax.swing.SwingWorker$1.call(Unknown Source

)

[16:00:13] [sEVERE]            at java.util.concurrent.FutureTask$Sync.innerRun

(Unknown Source)

[16:00:13] [sEVERE]            at java.util.concurrent.FutureTask.run(Unknown S

ource)

[16:00:13] [sEVERE]            at javax.swing.SwingWorker.run(Unknown Source)

[16:00:13] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.runTask(Unknown Source)

[16:00:13] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.run(Unknown Source)

[16:00:13] [sEVERE]            at java.lang.Thread.run(Unknown Source)

[16:00:14] [sEVERE]    java.lang.NullPointerException

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.ModpackBuild.getSpout

craftBuild(ModpackBuild.java:103)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.GameUpdater.isSpoutcr

aftUpdateAvailable(GameUpdater.java:389)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:777)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:1)

[16:00:14] [sEVERE]            at javax.swing.SwingWorker$1.call(Unknown Source

)

[16:00:14] [sEVERE]            at java.util.concurrent.FutureTask$Sync.innerRun

(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.FutureTask.run(Unknown S

ource)

[16:00:14] [sEVERE]            at javax.swing.SwingWorker.run(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.runTask(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.run(Unknown Source)

[16:00:14] [sEVERE]            at java.lang.Thread.run(Unknown Source)

[16:00:14] [sEVERE]    java.lang.NullPointerException

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.ModpackBuild.getSpout

craftBuild(ModpackBuild.java:103)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.modpacks.ModPackUpdat

er.isModpackUpdateAvailable(ModPackUpdater.java:202)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:784)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.gui.LoginForm$2$1.doI

nBackground(LoginForm.java:1)

[16:00:14] [sEVERE]            at javax.swing.SwingWorker$1.call(Unknown Source

)

[16:00:14] [sEVERE]            at java.util.concurrent.FutureTask$Sync.innerRun

(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.FutureTask.run(Unknown S

ource)

[16:00:14] [sEVERE]            at javax.swing.SwingWorker.run(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.runTask(Unknown Source)

[16:00:14] [sEVERE]            at java.util.concurrent.ThreadPoolExecutor$Worke

r.run(Unknown Source)

[16:00:14] [sEVERE]            at java.lang.Thread.run(Unknown Source)

[16:00:14] [sEVERE]    Exception in thread "AWT-EventQueue-0"

[16:00:14] [sEVERE]    java.lang.NullPointerException

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.ModpackBuild.getSpout

craftBuild(ModpackBuild.java:103)

[16:00:14] [sEVERE]            at org.spoutcraft.launcher.Launcher.getMinecraft

Applet(

  • 0
Posted

mkdir %APPDATA%\.techniclauncher\rtemp

"C:\program files\java\jre6\bin\java.exe" -Xmx1G -jar %APPDATA%\.techniclauncher\technic-launcher.jar

i put that in and i named it techniclauncher.bat

and i put it in the .techniclauncher folder in my %appdata%

do i need to rename it or did i do something wrong in the paths

because its still giving me the error; cant find java directory

  • 0
Posted · Hidden
Hidden

Mine says update failed when I try to log in ive got java 7 64-bit and its not working also the images of the packs don't load and it said no feed on the thing above login but when I login it says on a box "connecting to www.minecraft.net" then it says on my screen Update Failed! with the ok option below

Help!

  • 0
Posted · Hidden
Hidden

I've made a .bat ​​but when I opened it there was a black screen and than it closed immediately. I'm no computer expert at all so i don't no if that's normal.

  • 0
Posted · Hidden
Hidden

Mine says update failed when I try to log in ive got java 7 64-bit and its not working also the images of the packs don't load and it said no feed on the thing above login but when I login it says on a box "connecting to www.minecraft.net" then it says on my screen Update Failed! with the ok option below

Well, i have the exact problem i don't no what i can do about it :(

I've read almost all forums with 'update failed' title but nothing helps

  • 0
Posted · Hidden
Hidden

Well I followed the advice in the fix for the problem thread and it caused my java to become corrupt and then corrupted my windows user. To the point that I had to run in safe mode and now i'm running the bare essentials going though selective start-up.

So morale of the story is don't mess around with Java and find something else to do until they get a release version that is not buggy as hell

  • 0
Posted

Okay, after trying everything in the thread that i dared to I am still stuck not being able to connect to minecraft.net through my Technic launcher. I am trying to run a Tekkit server from the same machine in which i wish to play and so conflicts are occuring between Java 6 and Java 7. I am running a Windows 7 64Bit OS and until recently was running vanilla Minecraft and the Technic launcher using Java 6 64Bit as I knew from previous experience that the "can't connect to minecraft.net" error occured when I had Java 7 64Bit installed.

At first I switched my Java version to 7 (uninstalling Java 6 first) followed Freakachu's original instruction, copy and pasting his code to create a batch file...no change. Next i found milktatious' post which told me that i needed both Java 6 and 7 installed to run the Tekkit server on the same machine and from there I followed the instructions. I started this by creating a batch file for vanilla Minecraft which worked and I made the batch file for Technic launcher which did not work. I then proceeded to set up the Tekkit server which also worked. Coming back to my Technic launcher I created a batch file and made edits until I got it working.

At this point i wanted the sever to run on a more powerful machine so I transferred the relevant batch files as they didn't seem to contain anything specific to my machine. With Java 6 and 7 installed I managed to get vanilla Minecraft and the server working but not the Technic launcher so I decided to just run the server from my machine. Start up Technic launcher and the same "can't connect to minecraft.net" error message and I have no idea why, nothing changed, It wasn't touched since I had it working last.

From here I tried to edit the batch files and genrally tried different combinations of batch file locations and executables, i even tried deleting the .techniclauncher folder in dataapps and reinstalling the the launcher...nothing works. Then I tried the solution that BlueXeta proposed, there was already a Java appplication chosen for it in the program list but I manually found the java.exe for Java 6 and ran that. At this point I get symptoms described by matthewtyson where a black window pops up and disappears before it can be read. I was able to take a screenshot of the window just as it was disappearing and I have transcribed the text as best I can (see below).

Exception in thread "main" java.lang.NoClassDefFoundError: C:\Users\Chris\AppData\Roaming\/techniclauncher\technic-launcher/jar

Caused by:java.lang.ClassNotFoundException: C:\Users\Chris\AppData\Roaming\/techniclauncher\technic-launcher/jar

    at java.net.ULRClassLoader$1.run<Unknown Source>

    at java.security.AccessController.doPrivileged<Native Method>

    at java.net.ULRClassLoader.findClass<Unknown Source>

    at java.lang.ClassLoader.loadClass<Unknown Source>

    at sun.misc.Launcher$AppClassLoader.LoadClass<Unknown Source>

    at Java.lang.ClassLoader.loadClass<Unknown Source>

Could not find the main class: C:\Users\Chris\AppData\Roaming\.techniclauncher\technic-launcher.jar. Program will exit.

At this point I do not know what to do. I'm learning how to do all of this as I go along so it may require some explaining. I am posting my error log below this.

Launcher Version: 1.0.1.3 (created 16/05/2012)

Operating System: Microsoft Windows 7 Home Premium 64-Bit 6.1

Java Version: jre-6u31 Windows x64 and jre-7u4 Windows x64

Antivirus Program: Avira Free and ZoneAlarm Free firewall, I've had no problems with either programs

Description of Problem:

As above

Error Messages:

As above

Error Log:

  • 0
Posted · Hidden
Hidden

You seem to have renamed your ".techniclauncher" folder to "/techniclauncher". That'll get you every time. Rename it back and see what happens.

  • 0
Posted · Hidden
Hidden

Thanks for your help Torezu, I checked the folder in question and it was named ".techniclauncher". I have also just searched the Roaming folder to see there was a folder named that and there wasn't. Sorry but it didn't help, any other suggestions?

  • 0
Posted · Hidden
Hidden

I'm not sure what the problem is then, tbh. I am running a server and a client, from the same Win7 64-bit OS, with only Java 7u5, also 64-bit, installed, with zero issues.

  • 0
Posted · Hidden
Hidden

C:\Users\xxxxxxxxxxxxx\AppData\Roaming\.techniclauncher is there for me but the launcer still does nothing but check the version and thats it no processes used no calls just fails

  • 0
Posted · Hidden
Hidden

yep on my 7th try deleting the jar and downloading the laucher again it downlaods says it gets to 100% and then closes doing nothing

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • Anything claiming to be official Technic servers are not allowed here, for obvious reasons



×
×
  • Create New...