Discussion:
NetBeans IDE 3.4: Cannot Load jvm.dll
the_real_Special-K
2002-09-08 17:19:22 UTC
Permalink
After installing NetBeans 3.4 on my computer, I encountered this error
when I tried to run runide.exe or runidew.exe.

I've read all the articles regarding this error that I could find, and
I've tried every solution I've seen (i.e. setting the jdkhome
parameter), but nothing seems to work in my situation. I'm running
Windows 98 SE, and I have both JDK 1.1.8 and the Java 2 SDK 1.4.1 RC
installed, and I've tried setting the J2SDK and the JDK directories each
as jdkhome, but nothing seems to solve the problem. I'd be very
grateful for any ideas on this issue.

TIA,
K.G. Franqueiro
Thomas Kellerer
2002-09-08 20:57:39 UTC
Permalink
Post by the_real_Special-K
After installing NetBeans 3.4 on my computer, I encountered this error
when I tried to run runide.exe or runidew.exe.
I've read all the articles regarding this error that I could find, and
I've tried every solution I've seen (i.e. setting the jdkhome
parameter), but nothing seems to work in my situation. I'm running
Windows 98 SE, and I have both JDK 1.1.8 and the Java 2 SDK 1.4.1 RC
installed, and I've tried setting the J2SDK and the JDK directories each
as jdkhome, but nothing seems to solve the problem. I'd be very
grateful for any ideas on this issue.
TIA,
K.G. Franqueiro
Could you post the contents of your ide.cfg or the commandline you used
to start NetBeans. Otherwise it's pretty hard to tell something. Usually
this error is due to NetBeans not finding the proper JDK...

Thomas
K.G. Franqueiro
2002-09-08 21:11:55 UTC
Permalink
Thanks for the reply.

The contents of my ide.cfg file were originally:

-J-Xverify:none -J-Xms24m -J-Xmx96m

I tried adding -jdkhome C:\J2sdk 1.4.1 (my Java 2 SDK directory) at the
beginning, and still got the error. I also tried -jdkhome C:\JDK1.1.8 (my JDK
directory), but still to no avail. I don't know what else to try.

Thanks again,
K.G. Franqueiro
Andrew Chandler
2002-09-08 21:16:36 UTC
Permalink
First, unless I'm really mistaken 1.1.8 is not going to run NetBeans - it
requires Java 2 (1.2 or better)

Second for the ide config setting for 1.4.1 try the following:

-jdkhome c:\"J2sdk 1.4.1" Because of the space in the path you're wise
to include the quotes when telling other programs about it....whether its
required or not seems to depend on the barometric pressure at the precise
instant you decide to install a given application :)



-----Original Message-----
From: K.G. Franqueiro [mailto:***@optonline.net]
Sent: Sunday, September 08, 2002 2:12 PM
To: ***@netbeans.org
Subject: Re: [nbusers] NetBeans IDE 3.4: Cannot Load jvm.dll


Thanks for the reply.

The contents of my ide.cfg file were originally:

-J-Xverify:none -J-Xms24m -J-Xmx96m

I tried adding -jdkhome C:\J2sdk 1.4.1 (my Java 2 SDK directory) at the
beginning, and still got the error. I also tried -jdkhome C:\JDK1.1.8 (my
JDK
directory), but still to no avail. I don't know what else to try.

Thanks again,
K.G. Franqueiro
K.G. Franqueiro
2002-09-08 21:40:54 UTC
Permalink
Andrew,

Thanks for the reply; I did try using quotes, and that didn't do any good
either. I think I just realized something though, and I figured I'd ask about
it...and now that I'm realizing this I feel really stupid ;)

When I went to sun's java site it almost made it seem as if JDK was something
different than the Java SDK...but now I'm wondering, is JDK just the name they
had for the development kit before 1.2? If that's the case, then I probably
have two concurrent versions of Java installed at once. Weird.

Thanks,
K.G. Franqueiro
Andrew Chandler
2002-09-09 06:09:37 UTC
Permalink
JDK (Java Developers Kit) is the same as the JSDK (Java Software Developer
Kit ?)
You need to get that, not the jre for it to work.


It is possible to install multiple versions of the jsdk and using
environment variables/path changes switch which
one you are working with. I WOULD make sure though that the newest one is
installed last ... i.e. install 1.1.8 first
and 1.4.1 last so that the "Current" one is the newer one.


Sorry the quotes didn't work out....usually the NetBeans installer is pretty
good about grabbing a working jdk

-----Original Message-----
From: K.G. Franqueiro [mailto:***@optonline.net]
Sent: Sunday, September 08, 2002 2:41 PM
To: ***@netbeans.org
Subject: Re: [nbusers] NetBeans IDE 3.4: Cannot Load jvm.dll


Andrew,

Thanks for the reply; I did try using quotes, and that didn't do any good
either. I think I just realized something though, and I figured I'd ask
about
it...and now that I'm realizing this I feel really stupid ;)

When I went to sun's java site it almost made it seem as if JDK was
something
different than the Java SDK...but now I'm wondering, is JDK just the name
they
had for the development kit before 1.2? If that's the case, then I probably
have two concurrent versions of Java installed at once. Weird.

Thanks,
K.G. Franqueiro
K.G. Franqueiro
2002-09-08 23:43:05 UTC
Permalink
Okay, here's a slight update in my situation... I uninstalled both JDK 1.1.8 and
J2SDK 1.4.1, then reinstalled J2SDK 1.4.1, and now I get a DIFFERENT error
message!

Now I no longer get "cannot load jvm.dll" but instead I get "can't create Java VM"

Hrm...any ideas on this one??

Sorry for the mix-up and thanks for any help,
K.G. Franqueiro
Andrew Chandler
2002-09-09 06:14:47 UTC
Permalink
Which os again? One thing you might want to try (for variety here) is
uninstall 1.4.1 and uninstall Netbeans. Download and install jdk 1.3.1.
After its installed make sure you don't have any environment variables that
refer to JAVA_HOME or Java anything really. Also make sure you don't have
a environment variable set for "Classpath" and double check your path
variable to make sure that its not pointing to your java 1.1.8 directory.
If all that checks out re-install Netbeans - the install process SHOULD pick
up the jdk 1.3.1 install. Assuming you're running at this point you can
try jdk 1.4.0 and then finally 1.4.1 (which is still in beta / release
testing).

Hope this helps!!!!


Anyhow aft
-----Original Message-----
From: K.G. Franqueiro [mailto:***@optonline.net]
Sent: Sunday, September 08, 2002 4:43 PM
To: ***@netbeans.org
Subject: Re: [nbusers] NetBeans IDE 3.4: Cannot Load jvm.dll


Okay, here's a slight update in my situation... I uninstalled both JDK
1.1.8 and
J2SDK 1.4.1, then reinstalled J2SDK 1.4.1, and now I get a DIFFERENT error
message!

Now I no longer get "cannot load jvm.dll" but instead I get "can't create
Java VM"

Hrm...any ideas on this one??

Sorry for the mix-up and thanks for any help,
K.G. Franqueiro
K.G. Franqueiro
2002-09-09 21:30:43 UTC
Permalink
Thanks for all your help; I think I fixed my problem. :-)

I have a feeling that the cause of this was indeed installing things in
the wrong order...I uninstalled and reinstalled NetBeans after
completely uninstalling the JSDK's and reinstalling 1.4.1, and now NB
3.4 opens fine.

Thanks again,
K.G. Franqueiro

Loading...