Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

error "could not create the java virtual machine"

843829Apr 19 2008 — edited Mar 10 2009
hello everyone
i have the following problem:i installed turbo jbuilder 2007 on my laptop which is running windows vista and after i installed i tried running it and it gives me the following error "could not create java virtual machine".i tried installing java version 6 update 5 which i found on the sun webpage but the problem continues.i once ran jbuilder 2005 without any problems on this same computer but with windows xp.
like i said my laptop is running windows vista.1.7ghz centrino, 512 mb
i appreciate any help
thanks

Comments

843829
can somebody please help me????????????????????????????????????????
843829
Do you resolve the problem? If so what was the fix?

I have been getting the Java Virtual Machine Launcher error message “Could not create the virtual machine” when attempting to run an Oracle application that uses JNLP via a browser. Even clicking on componets such as javaw.exe produces the error message. In conjunction with receiving the error message, the application that I am working with will not launch.

I had JRE 5u10 and J2RE 1.4.2u13 installed and thought that installing JDK 5u17 may resolve the issue. I removed JRE 5u10 and J2RE 1.4.2u13 and installed JDK 5u17 (and the included JRE 5u17.) The error message was still there.

I have unistalled (via Add/Remove programs) and reinstalled (via both Win off-line and on-line) JDK 5u17 and JRE 5u17 many times.

During the uninstalls I have received a Java Web Start 1.5.0_17 bad installation – error invoking JVM error message.

I have restarted the machine also.

There are some remains of J2RE 1.4.2u13 still on the machine –even after the 1.4.2u13 uninstall. The Java\j2re1.4.2_13\lib folder remains.

I am running Win XP SP2 and IE6 SP2.

Note: I cannot use Java 6 since the application that I am working with is Java 5 based.
843829
This solution comes from Neowin.net's serhiy, and it worked well for me. He says the configuration file jbuilder.ini has to be edited. He changed the existing configuration, which is:

-configuration
C:\JBuilder2007\configuration_JBuilder
-vmargs
-Xms80M
-Xmx1024M
-XX:MaxPermSize=128M

and he changed it to:

-configuration
C:\JBuilder2007\configuration_JBuilder
-vmargs
-Xms80M
-Xmx768M
-XX:MaxPermSize=128M

If you set the memory limit too high then JBuilder won't work, according to serhiy.
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 7 2009
Added on Apr 19 2008
3 comments
244 views