• Welcome to Valhalla Legends Archive.
 

Java Virtual Machine Launcher Error

Started by Ender, February 16, 2006, 08:35 PM

Previous topic - Next topic

Ender

"Cannot find .../jvm.cfg."

I just switched my workspace on eclipse, and now I want to change its default JRE directory. I edited the JRE in "Installed JREs" so that it referenced my desired directory. When I start Eclipse up, however, it says that it cannot find my jre/lib/i386/jvm.cfg file. Yet my new JRE directory that I added to installed JRE's contains this! What's interesting is that when I run Eclipse via command-line, with the following command, it all works fine. I can boot Eclipse and run programs - it can find my JVM and everything else.

eclipse -vm c:/java/jre/bin/javaw.exe

Yet the simple "eclipse" command brings up the same prompt: "can't find /jvm.cfg." Does anyone know why Eclipse can't find this file, and how I can change the path that Eclipse has for this file to my new JRE directory (it is still looking in my old JRE directory). I don't want to have to keep booting up eclipse in command-line ;|

Kp

If you can't fix it, just modify the shortcut you're using to start Eclipse so that it passes the -vm <path> along.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Ender