• Cannot launch .jar file
    3 replies, posted
Hello all anyways, I planning on making a minecraft styled TTT map by making the outline in minecraft itself, then porting it over to source and adding in everything else using this method [url]https://www.youtube.com/watch?v=GWnAzzXwBRw[/url] I have one problem, however. When I launch the java file, it opens up javaw.exe in task manager but does nothing. it stays at 0% cpu usage and no window ever pops up. When I try to run the bat script it gives me a java exception ( here is what it says): Loaded config.txt. There is no places.txt yet. Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at config.Config.getMostLikelySteamUser(Config.java:352) at gui.PathAsker.updateSteamPath(PathAsker.java:81) at gui.PathAsker.update(PathAsker.java:52) at gui.PathAsker.<init>(PathAsker.java:47) at gui.GUI.askPath(GUI.java:39) at gui.GUI.<init>(GUI.java:100) at gui.GUI.main(GUI.java:32) then it exits. When I run it with admin rights, the bat file gives this: Error: unable to access jarfile sourcecraft.jar What I have done to try to fix it: 1. reboot my computer (more than once) 2. update java to latest and retry 3. get a portable version of java 6 and try to run it, same result, just runs in the background with nothing showing up 4. Created a blank file called places.txt in the .jar directory. (it gives the same error, but without the "There is no places.txt yet." line) at this rate i am extremely irritated. What I ask is someone knows the solution, you could try running the jar file yourself by getting it here: [url]http://craftandbuild.de/dl/?f=SourceCraft_2.12.zip[/url] If it is just me having the issue I guess (and it cannot be resolved), then I would kindly ask for one of you to use it to port my map over, I would send you the minecraft save, you port it with the tool, and you send back the vmf so I can work on it. Thank you all for your time
Are you sure you have the latest version of Java? Latest version is 8.0, check your version number. However, it looks like a problem with the java application. First of all, I'm not sure what places.txt is, but if that doesn't exist it could be causing problems. Your error is this part: at config.Config.getMostLikelySteamUser(Config.java:3 52) And the error code is accessing an array that is out of bounds. This means the data it's looking for doesn't exist. So possibly this "getMostLikelySteamUser" is returning no data. But like I said, it could possibly be because places.txt is empty
[QUOTE=djjkxbox360;44469241]Are you sure you have the latest version of Java? Latest version is 8.0, check your version number. However, it looks like a problem with the java application. First of all, I'm not sure what places.txt is, but if that doesn't exist it could be causing problems. Your error is this part: at config.Config.getMostLikelySteamUser(Config.java:3 52) And the error code is accessing an array that is out of bounds. This means the data it's looking for doesn't exist. So possibly this "getMostLikelySteamUser" is returning no data. But like I said, it could possibly be because places.txt is empty[/QUOTE] THANK YOU SO MUCH anyways, I was looking through the files for anything about steam, it turns out that the steam directory listed in the config is different than mine, so I changed it and now it works. thank you for the help
Happy to help!
Sorry, you need to Log In to post a reply to this thread.