Jump to content

Extreme problems with Java JRE6 and JRE7


Recommended Posts

Launcher/pack Version: Technic Launcher 1.0.1.1- (Tekkit)

Operating System: Windows 7 64-bit

Version of Java: Java JRE6 update 31/ Java JRE7 update 3

Description of Problem: Hi, I'm sorry if this is in the wrong section (and if the description is too long!) but I couldn't decide between Tekkit bugs or just general Tekkit SMP.

(Seeing how it's not a Tekkit bug as such.)

I have had a Tekkit 1.1 server now for quite some time, but today when I go to start up my server, it wouldn't start up giving me an error which I know the problem to. I uninstalled Java 7 the day before. So, after reinstalling it I went to play on Tekkit and found out that I have terrible lag on both Tekkit SSP and Tekkit SMP.

So, I got rid of all of my Java files and started downloading them again so I could see if that fixed it. Nope.

I've figured out that if I have Java 7, I can run my server fine and dandy, but Java 7 simply being on my system makes Tekkit unplayable due to horrible lag (1-5 FPS)

But on the other hand, if I have only Java 6 on my system, Tekkit will run absolutely perfect but my server will not start up and I get this from the command line:

Error Messages:

Aliasing material 10 name: lava

Aliasing material 11 name: lava

Aliasing material 12 name: sand

Aliasing material 13 name: gravel

Aliasing material 14 name: oreGold

Aliasing material 15 name: oreIron

Aliasing material 16 name: oreCoal

Aliasing material 17 name: log

Aliasing material 18 name: leaves

Aliasing material 19 name: sponge

Aliasing material 20 name: glass

Aliasing material 21 name: oreLapis

Aliasing material 22 name: blockLapis

Aliasing material 23 name: dispenser

Aliasing material 24 name: sandStone

Aliasing material 25 name: musicBlock

Aliasing material 26 name: bed

Aliasing material 27 name: goldenRail

Aliasing material 28 name: detectorRail

Aliasing material 29 name: pistonStickyBase

Aliasing material 30 name: web

Aliasing material 31 name: tallgrass

Aliasing material 32 name: deadbush

Aliasing material 33 name: pistonBase

Aliasing material 35 name: cloth

Aliasing material 37 name: flower

Aliasing material 38 name: rose

Aliasing material 39 name: mushroom

Aliasing material 40 name: mushroom

Aliasing material 41 name: blockGold

Aliasing material 42 name: blockIron

Aliasing material 43 name: stoneSlab

Aliasing material 44 name: stoneSlab

Aliasing material 45 name: brick

Aliasing material 46 name: tnt

Aliasing material 47 name: bookshelf

Aliasing material 48 name: stoneMoss

Aliasing material 49 name: obsidian

Aliasing material 50 name: torch

Aliasing material 51 name: fire

Aliasing material 52 name: mobSpawner

Aliasing material 53 name: stairsWood

Aliasing material 54 name: chest

Aliasing material 55 name: redstoneDust

Aliasing material 56 name: oreDiamond

Aliasing material 57 name: blockDiamond

Aliasing material 58 name: workbench

Aliasing material 59 name: crops

Aliasing material 60 name: farmland

Aliasing material 61 name: furnace

Aliasing material 62 name: furnace

Aliasing material 63 name: sign

Aliasing material 64 name: doorWood

Aliasing material 65 name: ladder

Aliasing material 66 name: rail

Aliasing material 67 name: stairsStone

Aliasing material 68 name: sign

Aliasing material 69 name: lever

Aliasing material 70 name: pressurePlate

Aliasing material 71 name: doorIron

Aliasing material 72 name: pressurePlate

Aliasing material 73 name: oreRedstone

Aliasing material 74 name: oreRedstone

Aliasing material 75 name: notGate

Aliasing material 76 name: notGate

Aliasing material 77 name: button

Aliasing material 78 name: snow

Aliasing material 79 name: ice

Aliasing material 80 name: snow

Aliasing material 81 name: cactus

Aliasing material 82 name: clay

Aliasing material 83 name: reeds

Aliasing material 84 name: jukebox

Aliasing material 85 name: fence

Aliasing material 86 name: pumpkin

Aliasing material 87 name: hellrock

Aliasing material 88 name: hellsand

Aliasing material 89 name: lightgem

Aliasing material 90 name: portal

Aliasing material 91 name: litpumpkin

Aliasing material 92 name: cake

Aliasing material 93 name: diode

Aliasing material 94 name: diode

Aliasing material 95 name: lockedchest

Aliasing material 96 name: trapdoor

Aliasing material 98 name: stonebricksmooth

Aliasing material 99 name: mushroom

Aliasing material 100 name: mushroom

Aliasing material 101 name: fenceIron

Aliasing material 102 name: thinGlass

Aliasing material 103 name: melon

Aliasing material 104 name: pumpkinStem

Aliasing material 105 name: pumpkinStem

Aliasing material 106 name: vine

Aliasing material 107 name: fenceGate

Aliasing material 108 name: stairsBrick

Aliasing material 109 name: stairsStoneBrickSmooth

Aliasing material 110 name: mycel

Aliasing material 111 name: waterlily

Aliasing material 112 name: netherBrick

Aliasing material 113 name: netherFence

Aliasing material 114 name: stairsNetherBrick

Aliasing material 115 name: netherStalk

Aliasing material 116 name: enchantmentTable

Aliasing material 117 name: brewingStand

Aliasing material 118 name: cauldron

Aliasing material 120 name: endPortalFrame

Aliasing material 121 name: whiteStone

Aliasing material 122 name: dragonEgg

174 recipes

27 achievements

>ModLoader Server 1.1 Initializing...

23:13:46 [iNFO] ModLoader Server 1.1 Initializing...

>Mod Loaded: mod_BuildCraftBuilders 2.2.12

23:13:46 [iNFO] Mod Loaded: mod_BuildCraftBuilders 2.2.12

>Mod Loaded: mod_BuildCraftFactory 2.2.12

23:13:46 [iNFO] Mod Loaded: mod_BuildCraftFactory 2.2.12

>Mod Loaded: mod_BuildCraftEnergy 2.2.12

23:13:46 [iNFO] Mod Loaded: mod_BuildCraftEnergy 2.2.12

>Mod Loaded: mod_BuildCraftCore 2.2.12

23:13:46 [iNFO] Mod Loaded: mod_BuildCraftCore 2.2.12

>Mod Loaded: mod_BuildCraftTransport 2.2.12

23:13:46 [iNFO] Mod Loaded: mod_BuildCraftTransport 2.2.12

>Mod Loaded: mod_IC2 v1.71

23:13:48 [iNFO] Mod Loaded: mod_IC2 v1.71

>Mod Loaded: mod_RedPowerLighting 2.0pr4d

23:13:48 [iNFO] Mod Loaded: mod_RedPowerLighting 2.0pr4d

>Mod Loaded: mod_RedPowerArray 2.0pr4d

23:13:48 [iNFO] Mod Loaded: mod_RedPowerArray 2.0pr4d

>Mod Loaded: mod_RedPowerMachine 2.0pr4d

23:13:48 [iNFO] Mod Loaded: mod_RedPowerMachine 2.0pr4d

>Mod Loaded: mod_RedPowerLogic 2.0pr4d

23:13:48 [iNFO] Mod Loaded: mod_RedPowerLogic 2.0pr4d

>Mod Loaded: mod_RedPowerWorld 2.0pr4d

23:13:48 [iNFO] Mod Loaded: mod_RedPowerWorld 2.0pr4d

>Mod Loaded: mod_RedPowerCore 2.0pr4d

23:13:48 [iNFO] Mod Loaded: mod_RedPowerCore 2.0pr4d

>Mod Loaded: mod_RedPowerWiring 2.0pr4d

23:13:48 [iNFO] Mod Loaded: mod_RedPowerWiring 2.0pr4d

>Mod Loaded: mod_zAdditionalPipes Rev32.3

23:13:48 [iNFO] Mod Loaded: mod_zAdditionalPipes Rev32.3

>Failed to load mod from "mod_IC2AdvancedMachines.class"

>java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_IC2AdvancedMac

hines : Unsupported major.minor version 51.0

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

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

    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$000(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 net.minecraft.server.ModLoader.addMod(ModLoader.java:172)

    at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

    at net.minecraft.server.ModLoader.init(ModLoader.java:683)

    at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:102)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:411)

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

23:13:48 [sEVERE] Unexpected exception

java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_IC2AdvancedMach

ines : Unsupported major.minor version 51.0

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

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

    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$000(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 net.minecraft.server.ModLoader.addMod(ModLoader.java:172)

    at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

    at net.minecraft.server.ModLoader.init(ModLoader.java:683)

    at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:102)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:411)

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

>java.lang.RuntimeException: Exception occured in ModLoader

    at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

    at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1297)

    at net.minecraft.server.ModLoader.addMod(ModLoader.java:193)

    at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

    at net.minecraft.server.ModLoader.init(ModLoader.java:683)

    at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:102)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:411)

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_IC2A

dvancedMachines : Unsupported major.minor version 51.0

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

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

    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$000(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 net.minecraft.server.ModLoader.addMod(ModLoader.java:172)

    ... 6 more

23:13:48 [sEVERE] Unexpected exception

java.lang.RuntimeException: Exception occured in ModLoader

    at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

    at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1297)

    at net.minecraft.server.ModLoader.addMod(ModLoader.java:193)

    at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

    at net.minecraft.server.ModLoader.init(ModLoader.java:683)

    at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:102)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:411)

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_IC2A

dvancedMachines : Unsupported major.minor version 51.0

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

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

    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$000(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 net.minecraft.server.ModLoader.addMod(ModLoader.java:172)

    ... 6 more

>java.lang.RuntimeException: ModLoader has failed to initialize.

    at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

    at net.minecraft.server.ModLoader.init(ModLoader.java:715)

    at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:102)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:411)

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

Caused by: java.lang.RuntimeException: Exception occured in ModLoader

    at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

    at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1297)

    at net.minecraft.server.ModLoader.addMod(ModLoader.java:193)

    at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

    at net.minecraft.server.ModLoader.init(ModLoader.java:683)

    ... 4 more

Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_IC2A

dvancedMachines : Unsupported major.minor version 51.0

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

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

    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$000(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 net.minecraft.server.ModLoader.addMod(ModLoader.java:172)

    ... 6 more

23:13:48 [sEVERE] Unexpected exception

java.lang.RuntimeException: ModLoader has failed to initialize.

    at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

    at net.minecraft.server.ModLoader.init(ModLoader.java:715)

    at net.minecraft.server.ModLoader.Init(ModLoader.java:1357)

    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:102)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:411)

    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

Caused by: java.lang.RuntimeException: Exception occured in ModLoader

    at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1292)

    at net.minecraft.server.ModLoader.ThrowException(ModLoader.java:1297)

    at net.minecraft.server.ModLoader.addMod(ModLoader.java:193)

    at net.minecraft.server.ModLoader.readFromModFolder(ModLoader.java:929)

    at net.minecraft.server.ModLoader.init(ModLoader.java:683)

    ... 4 more

Caused by: java.lang.UnsupportedClassVersionError: net/minecraft/server/mod_IC2A

dvancedMachines : Unsupported major.minor version 51.0

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

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

    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$000(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 net.minecraft.server.ModLoader.addMod(ModLoader.java:172)

    ... 6 more

>

Link to pastebin of log: http://pastebin.com/t7Hekx22

Link to comment
Share on other sites

Well, there's the easy way, which is to get rid of advanced machines.

And then there's the harder way (that I'm not even sure will work), which is to launch your server in java 7 and your client in java 6.

I believe this is possible through "Open with" in the right click menu.

Link to comment
Share on other sites

Well, there's the easy way, which is to get rid of advanced machines.

And then there's the harder way (that I'm not even sure will work), which is to launch your server in java 7 and your client in java 6.

I believe this is possible through "Open with" in the right click menu.

Just checked if you can open with, and there isn't any option. What is advanced machines anyways? Is it the rotary macerator and so on and on..?

Link to comment
Share on other sites

if you run it with a batch you can do this for the server:

"c:\program files\java\jre7\bin\java" -Xmx1G -Xms1G -jar Tekkit.jar nogui

and this for the client:

"c:\program files\java\jre6\bin\java" -jar Minecraft.exe

so you use different paths for jre6 and jre7. have fun!

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   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.

 Share

×
×
  • Create New...