Jump to content

[SOLVED] "A Java Exception Has Occurred" Using Forge Installer for a server


Recommended Posts

Posted

I download this: http://adf.ly/673885/http://files.minecraftforge.net/minecraftforge/minecraftforge-installer-1.5.2-7.8.1.738.jar

 

I Run it to install both the client and server. The client works just fine so far, And the server version seems to install fine, However when I click the jar file to launch the server I get this error saying "A Java Exception Has Occurred". Nothing else happens. I've looked around for a few hours, but I cant figure this out. Any help is greatly appreciated!

 

Yes I know its not the latest version >.> Im intentionally making a 1.5.2 server.

 

Edit: Just to be clear, this happens right after installing. There cant be any problems with mods because it hasnt created the mods folder yet.

 

==============================================================================================================================

 

Ok, problem solved and time to feel stupid :)

 

The instructions in the EAQ work perfectly, I just needed to grab the 1.5 lib files and throw them in.

 

What went wrong was that I assumed for some reason that using the forge installer jar automatically merged the forge jar file and the vanilla jar file. No idea why I thought that.

The second problem was that I was trying to run the server from the forge jar file instead of the modified vanilla file. I seem to recall that working for me in the past... 

maybe not, but whatever. Its running now so problem solved. Thanks for you help and for putting up with my cluelessness! ^_^

Posted

Logs of what? Nothing happens. It installs into the folder, I try to run it to generate the rest of the server files, instead I get an error message popup. I don't know of any logs to post...

Posted

Not 100% sure if this is what you wanted, but here goes:

 

 

 

C:\Users\Me\Desktop\Project Twelve\Server>java -Xms3G -Xmx3G -jar minecraftf

orge-universal-1.5.2-7.8.1.738.jar

Exception in thread "main" java.lang.NoClassDefFoundError: ab

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(Unknown Source)

        at java.security.SecureClassLoader.defineClass(Unknown Source)

        at java.net.URLClassLoader.defineClass(Unknown Source)

        at java.net.URLClassLoader.access$100(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.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)

        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

Caused by: java.lang.ClassNotFoundException: ab

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.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)

        ... 13 more

 

C:\Users\Me\Desktop\Project Twelve\Server>PAUSE

Press any key to continue . . .

 

Posted

Ive been looking around for more information. Perhaps this is what you meant?

 

 

 

2013-12-10 20:56:48 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.2.23.738 for Minecraft 1.5.2 loading

2013-12-10 20:56:48 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_45, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7

2013-12-10 20:56:48 [FINE] [ForgeModLoader] Java classpath at launch is C:\Users\Casey\Desktop\Project 13\P13SrVr\minecraft_server.1.5.2.jar

2013-12-10 20:56:48 [FINE] [ForgeModLoader] Java library path at launch is C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;.

2013-12-10 20:56:48 [FINE] [ForgeModLoader] Enabling runtime deobfuscation

2013-12-10 20:56:48 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] There was a problem downloading the file bcprov-jdk15on-148.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again

 

2013-12-10 20:56:49 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/scala-library.jar

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] There was a problem downloading the file scala-library.jar automatically. Perhaps you have an environment without internet access. You will need to download the file manually or restart and let it try again

 

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] There were errors during initial FML setup. Some files failed to download or were otherwise corrupted. You will need to manually obtain the following files from these download links and ensure your lib directory is clean.

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/argo-small-3.2.jar

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/guava-14.0-rc3.jar

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/asm-all-4.1.jar

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/deobfuscation_data_1.5.2.zip

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/scala-library.jar

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] <===========>

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] The following is the errors that caused the setup to fail. They may help you diagnose and resolve the issue

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] A download error occured

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] A download error occured

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] <<< ==== >>>

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] The following is diagnostic information for developers to review.

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] Error details

java.lang.RuntimeException: A download error occured

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:548)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:165)

at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172)

at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:147)

at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1367)

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:532)

... 5 more

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-148.jar

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)

at java.net.URLConnection.getHeaderFieldLong(Unknown Source)

at java.net.URLConnection.getContentLengthLong(Unknown Source)

at java.net.URLConnection.getContentLength(Unknown Source)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:531)

... 5 more

2013-12-10 20:56:49 [sEVERE] [ForgeModLoader] Error details

java.lang.RuntimeException: A download error occured

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:548)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:165)

at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172)

at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:147)

at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1367)

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/scala-library.jar

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:532)

... 5 more

Caused by: java.io.FileNotFoundException: http://files.minecraftforge.net/fmllibs/scala-library.jar

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)

at java.net.URLConnection.getHeaderFieldLong(Unknown Source)

at java.net.URLConnection.getContentLengthLong(Unknown Source)

at java.net.URLConnection.getContentLength(Unknown Source)

at cpw.mods.fml.relauncher.RelaunchLibraryManager.downloadFile(RelaunchLibraryManager.java:531)

... 5 more

2013-12-10 20:56:49 [iNFO] [sTDERR] Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: A fatal error occured and FML cannot continue

2013-12-10 20:56:49 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:192)

2013-12-10 20:56:49 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:147)

2013-12-10 20:56:49 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:45)

2013-12-10 20:56:49 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1367)

2013-12-10 20:56:49 [iNFO] [sTDERR] Caused by: java.lang.RuntimeException: A fatal error occured and FML cannot continue

2013-12-10 20:56:49 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:261)

2013-12-10 20:56:49 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:172)

2013-12-10 20:56:49 [iNFO] [sTDERR] ... 3 more

[endSpoiler]

Posted

Read the EAQ, and make sure you didn't rename your mc server jar.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Posted

I've tried everything on there that applies, to the best of my ability. Sorry if i'm missing something simple, but as best as I can tell, I have tried everything on there and no change.

It seems like the problem might be those library files, but when I use them there is still no change. Is there some exact place that i'm supposed to put them aside from just into the lib folder?

  • 6 years later...
  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.