havocx42 Posted March 5, 2012 Posted March 5, 2012 It looks like the Tekkit 2.1 server is currently not compatible with the recommended version of java and requires Java 1.7 Update to Java 1.7 to fix this problem. Hopefully. Java 1.7 can be found here. I'm not providing support for installing Java. I'm afraid you will have to figure that bit out yourself. Also please ensure that if you have a 64bit OS you are using the 64 bit version of java. Thanks to tradari for pointing this out.
0 Zaphod Beeblebrox Posted March 19, 2012 Posted March 19, 2012 The thing is, what if you have a mac, and you cant manually update it to java 1.7 because of the stupid software update which only does the rec build of java? Rant: Why release something based on a dev build of Java? NFO Servers will not install a non recommended Version of Java. Question: How hard is this to fix to be backward compatible?
0 jakj Posted March 20, 2012 Posted March 20, 2012 Rant: Why release something based on a dev build of Java? NFO Servers will not install a non recommended Version of Java. Question: How hard is this to fix to be backward compatible? I don't think you realize just how much the Java runtime has advanced (in function and in featureset) just in the 6 to 7 transition. Trying to make all this stuff work with 6 would actually require a minor lobotomy. This is the only viable option.
0 havocx42 Posted March 20, 2012 Author Posted March 20, 2012 I don't think you realize just how much the Java runtime has advanced (in function and in featureset) just in the 6 to 7 transition. Trying to make all this stuff work with 6 would actually require a minor lobotomy. This is the only viable option. I very much doubt that IC2 makes major use of the new functionality. If it was a new project only ever written in Java 7 then it might rely on it a bit more but I expect if someone went to the trouble of compiling against java 6 it would not take long to fix any issues.
0 jwu123456 Posted March 23, 2012 Posted March 23, 2012 If You Didn't know There's A simpler way. I just messed with the bat file. This works for me. java -Xmx1024M -Xms1024M -jar Tekkit.jar nogui.
0 havocx42 Posted March 23, 2012 Author Posted March 23, 2012 If You Didn't know There's A simpler way. I just messed with the bat file. This works for me. java -Xmx1024M -Xms1024M -jar Tekkit.jar nogui. I lIke RandoM caPital Letters tOo! I don't know what you fixed on your system but it's not what we are talking about here. There may be another cause for ths same error message but the only time I have seen it, on Tekkit and elsewhere, is when trying to run a program that requires Java 7 with an older version. I'm glad that worked for you but considering all you changed was the memory allocation I expect you solved a different error.
0 soulgriever Posted March 23, 2012 Posted March 23, 2012 I unfortunatly am comming up with the same error I am using Windows Server 2008 and i edited the system variables to java7 like i have a thousand times before and it keeps throwing out the same error previously described
0 CaelanK Posted March 23, 2012 Posted March 23, 2012 I have done all that is suggested here; I have changed my Java PATH, I have uninstalled and reinstalled every version of Java known to man. and im pretty sure that this site is pretty trustworthy: http://javatester.org/version.html Here is my result: http://gyazo.com/ba6ef008bceb6d68d59537ea382a7e90.png?1332536898 Any other suggestions?
0 soulgriever Posted March 24, 2012 Posted March 24, 2012 I have done all that is suggested here; I have changed my Java PATH, I have uninstalled and reinstalled every version of Java known to man. and im pretty sure that this site is pretty trustworthy: http://javatester.org/version.html Here is my result: http://gyazo.com/ba6ef008bceb6d68d59537ea382a7e90.png?1332536898 Any other suggestions? I just tried something for giggles. I think AtomicStryker has patched it a few times since the release of tekkit 2.1 (dnt quote me on that tho) any ways i tried removing adv machines and installing a fresh copy from the craftbukkit folder in http://dl.dropbox.com/u/12798730/AdvancedMachines%203.6.zip it worked for me give it a shot hopefully it helps you
0 Zaphod Beeblebrox Posted March 25, 2012 Posted March 25, 2012 Ok, so in order to try that idea I would need to also rename this modified craftbuckit version to "[2]AdvancedMachines_3.6_bukkit.zip" so the file name also matches? I don't how tekkit is coded.
0 soulgriever Posted March 29, 2012 Posted March 29, 2012 Ok, so in order to try that idea I would need to also rename this modified craftbuckit version to "[2]AdvancedMachines_3.6_bukkit.zip" so the file name also matches? I don't how tekkit is coded. sorry aint been on in awhile actualy no you dont that just effects the order that the mods are loaded in you just toss it in there the way it is and it should work fine
0 RSM151 Posted March 30, 2012 Posted March 30, 2012 ive been trying to do this for ever since tekkit 2.1.1 and now i can continue running my server. Thx
0 BFG9000d Posted April 9, 2012 Posted April 9, 2012 when i update to java 1.7 i get a bad driver error when launching minecraft with updated drivers. So i can only remove advanced machines from my server?
0 Wibin Posted April 9, 2012 Posted April 9, 2012 Got it. The throw off from downloading from Oracle screwed me up, cause I re-installed all my java from scratch. Thanks for the help!
0 Candunc Posted April 10, 2012 Posted April 10, 2012 Nevermind. REEDIT: The mac fix only works for LION! So I am basically screwed there. Guess I'll find another way.
0 teamplur Posted April 16, 2012 Posted April 16, 2012 Ok, so. I just come back after what seems like a lifetime of shit .... Anyways I completely reinstalled windows to try to get this to work. Basically the problem is, when I install Java7, My technic client shits the bed. It cannot connect to any network so the launcher thinks i'm offline. The server seems to mostly work but i cant get a client up. So if i remove java7 and go back to 6, then it will work again. but then i can't run a server anymore. I know it's been mentioned to mess with the java setting but all you can do there is turn off an entire version, that doesn't let you specify specifically what program uses what java version. I also tried making a .bat file to launch technic-launcher.jar but I don't really know how to write the batch file properly and I'm just getting crazy errors about not finding class and stuff like that. BTW java7 seems to break all my minecraft installs. Even the basic launcher with vanilla can't get online anymore... So pissed >_<
0 havocx42 Posted April 17, 2012 Author Posted April 17, 2012 I have no idea why java 7 would be behaving so badly for you. The easiest way to solve this would be to have your client using java 6 and your server using java 7. To do this, install both versions and make sure java 6 is the default. then in the launch.bat replace : java -Xmx1G -Xms512M -jar Tekkit.jar nogui with <path to java7>\bin\java -Xmx1G -Xms512M -jar Tekkit.jar nogui So something like C:\Program Files\Java\jre7\bin\java -Xmx1G -Xms512M -jar Tekkit.jar nogui
0 teamplur Posted April 17, 2012 Posted April 17, 2012 Awsome that's exactly what i need. Now, how exctly do i make java 6 the default? under user it lists both 6 and 7 but under system it only lists 7... also.. i'm not sure but i think even the server itself can't connect to online with java7. right now i'm just using the server without advanced machines and it works fine with java6
0 Jasmine Posted May 7, 2012 Posted May 7, 2012 Just wanted to add that this fixed it for me (at the cost of disabling IC2 Advanced Machines) In your server's folder, go into /config/ and open ModLoader.cfg Change mod_IC2AdvancedMachines=on to mod_IC2AdvancedMachines=off Then see if she'll load up. Hope this helps!
0 dsp998 Posted May 7, 2012 Posted May 7, 2012 where you found that? sorry i somehow can't find it :(
0 Nixeu Posted May 7, 2012 Posted May 7, 2012 I just tried something for giggles. I think AtomicStryker has patched it a few times since the release of tekkit 2.1 (dnt quote me on that tho) any ways i tried removing adv machines and installing a fresh copy from the craftbukkit folder in http://dl.dropbox.com/u/12798730/AdvancedMachines%203.6.zip it worked for me give it a shot hopefully it helps you Okay, so this worked, and allowed me to get the server running. But Advanced Machines still doesn't actually work. They show up in NEI, but trying to use that to get them brings up the message "no such item exists". Trying to craft them makes them show up for a second, then disappear. And, before you ask, yes, I'm running Java 7. Considering the hell I went through getting that to work, I'm certain I am. Anyone got any ideas?
0 cellden Posted May 9, 2012 Posted May 9, 2012 I know this might seem a bit hard headed but if you wont miss the mod i found that you can remove advanced machines completely and it will run fine
0 Ragnar Homsar Posted May 9, 2012 Posted May 9, 2012 I know this might seem a bit hard headed but if you wont miss the mod i found that you can remove advanced machines completely and it will run fine No shit.
0 soulgriever Posted May 9, 2012 Posted May 9, 2012 I know this might seem a bit hard headed but if you wont miss the mod i found that you can remove advanced machines completely and it will run fine ok i havent updated this post in forever but it seemed i was WAYYYYYYYYYYY off when i posted that solution i realised later that i was just disabling advanced machines because that was actualy the wrong version. Anyways what i found to be the real problem and solution was that even though i knew i had java 7 the server wasnt calling java 7 it was still trying to call java 6 even after editing system variables and removeing java 6. so the way i fixed was editing the startup.bat and calling java 7 manualy. @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar Tekkit.jar PAUSE
0 cheapchalupa Posted May 9, 2012 Posted May 9, 2012 any ways i tried removing adv machines and installing a fresh copy from the craftbukkit folder in http://dl.dropbox.com/u/12798730/AdvancedMachines%203.6.zip it worked for me give it a shot hopefully it helps you thanks you saved my server with this
0 DuckThom Dashie Posted July 9, 2012 Posted July 9, 2012 I have a mac server and also encountered the same problem. However I solved it by updating the AdvancedMachines mod from 4.0 to 4.1(Server and Client side) and disabling the NetherOres mod. (And of course updating to Java 1.7) And now it works like a charm! Well... Most of the time......(stupid teleport pipe crashes)
Question
havocx42
It looks like the Tekkit 2.1 server is currently not compatible with the recommended version of java and requires Java 1.7
Update to Java 1.7 to fix this problem. Hopefully.
Java 1.7 can be found here. I'm not providing support for installing Java. I'm afraid you will have to figure that bit out yourself.
Also please ensure that if you have a 64bit OS you are using the 64 bit version of java.
Thanks to tradari for pointing this out.
Top Posters For This Question
6
6
4
2
Popular Days
Mar 7
7
Mar 9
6
Aug 24
6
Mar 23
4
Top Posters For This Question
havocx42 6 posts
88jackblack1 6 posts
soulgriever 4 posts
Zamuroy 2 posts
Popular Days
Mar 7 2012
7 posts
Mar 9 2012
6 posts
Aug 24 2012
6 posts
Mar 23 2012
4 posts
66 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now