Internal VM error:Failed to create Java VM

Hi,everybody.

When I open IDE under QNX6.20 Beta(it doesn’t expired,host and target both
are Netrino),it occur error like this:

Internal VM error:Failed to create Java VM

How to solve this problem? thanks in advance.

How much memory do you have in this machine?

chris


Chen <hcchen@mail.ipp.ac.cn> wrote:

Hi,everybody.

When I open IDE under QNX6.20 Beta(it doesn’t expired,host and target both
are Netrino),it occur error like this:

Internal VM error:Failed to create Java VM

How to solve this problem? thanks in advance.


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

“Chris McKillop” <cdm@qnx.com> wrote in message
news:aondvo$3v$1@nntp.qnx.com

How much memory do you have in this machine?

256 Megabytes memory in this machine.

Hichun Chen <hcchen@mail.ipp.ac.cn> wrote:

“Chris McKillop” <> cdm@qnx.com> > wrote in message
news:aondvo$3v$> 1@nntp.qnx.com> …
How much memory do you have in this machine?

256 Megabytes memory in this machine.

And how are you launching the IDE? Can you post the exact command line?

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Mr.Chris,I am so sorry I cann’t discuss with you in time.

And how are you launching the IDE? Can you post the exact command line?

chris
^^^I launched the IDE by clicked the Launch menu and choosed it,and used a

non-root ID.

Hichun Chen <hcchen@mail.ipp.ac.cn> wrote:

Mr.Chris,I am so sorry I cann’t discuss with you in time.

And how are you launching the IDE? Can you post the exact command line?

chris
^^^I launched the IDE by clicked the Launch menu and choosed it,and used a
non-root ID.

Can you try running it from a Terminal (pterm)? What output do you yet?

/usr/bin/eclipse

chris

\

Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

“Chris McKillop” <cdm@qnx.com> wrote in message
news:aphddr$42q$1@nntp.qnx.com

Hichun Chen <> hcchen@mail.ipp.ac.cn> > wrote:
Mr.Chris,I am so sorry I cann’t discuss with you in time.

And how are you launching the IDE? Can you post the exact command
line?

chris
^^^I launched the IDE by clicked the Launch menu and choosed it,and used
a
non-root ID.


Can you try running it from a Terminal (pterm)? What output do you yet?

/usr/bin/eclipse

chris

the same error as ever before.

Can you try running it from a Terminal (pterm)? What output do you yet?

/usr/bin/eclipse

chris

the same error as ever before.

And nothing else on the terminal itself rather then a dialog?

chris

\

Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

“Chris McKillop” <cdm@qnx.com> wrote in message
news:apoe4g$mro$1@nntp.qnx.com

Can you try running it from a Terminal (pterm)? What output do you
yet?

/usr/bin/eclipse

chris

the same error as ever before.


And nothing else on the terminal itself rather then a dialog?

chris

yeah,a error message display in the termimal,and a IDE dialog appeared a

moment (0.00x seconds :slight_smile: )then disappear.

the error message is the same like before.

For kicks try doing this (from a terminal), I doubt it will help though.

cd $HOME
export PATH=$PATH:/usr/eclipse/ive/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/eclipse/ive/bin
eclipse

chris

Hichun Chen <hcchen@mail.ipp.ac.cn> wrote:

“Chris McKillop” <> cdm@qnx.com> > wrote in message
news:apoe4g$mro$> 1@nntp.qnx.com> …

Can you try running it from a Terminal (pterm)? What output do you
yet?

/usr/bin/eclipse

chris

the same error as ever before.


And nothing else on the terminal itself rather then a dialog?

chris

yeah,a error message display in the termimal,and a IDE dialog appeared a
moment (0.00x seconds > :slight_smile: > )then disappear.

the error message is the same like before.


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

“Chris McKillop” <cdm@qnx.com> wrote in message
news:app8ri$bfu$1@nntp.qnx.com

For kicks try doing this (from a terminal), I doubt it will help though.

cd $HOME
export PATH=$PATH:/usr/eclipse/ive/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/eclipse/ive/bin
eclipse

chris

Hi,Chris
Here is the output results while I run the commands under your prompts:

$ eclipse
Internal VM error: Failed to create Java VM
$ cd $HOME
$ pwd
/home/emp

$ export PATH=$PATH:/usr/eclipse/ive/bin

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/eclipse/ive/bin

$ eclipse
Internal VM error: Failed to create Java VM

$ echo $PATH
/database/bin:/bin:/usr/bin:/usr/photon/bin:/usr/photon/appbuilder:/usr/X11R
6/bi
n:/usr/local/bin:/opt/bin:/usr/eclipse/ive/bin:/usr/eclipse/ive/bin

$ echo $LD_LIBRARY_PATH
/database/shlib:/proc/boot:/lib:/usr/lib:/lib/dll:/usr/photon/lib:/usr/photo
n/dl
l:/opt/lib:/usr/local/lib:/usr/X11R6/lib:/usr/eclipse/ive/bin:/usr/eclipse/i
ve/b
in

Hi,Chris
Here is the output results while I run the commands under your prompts:

$ eclipse
Internal VM error: Failed to create Java VM
$ cd $HOME
$ pwd
/home/emp

$ export PATH=$PATH:/usr/eclipse/ive/bin

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/eclipse/ive/bin

At this point, are you able to run “j9” by itself and get the help
information printed on the console?

chris

\

Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

“Chris McKillop” <cdm@qnx.com> wrote in message
news:apqn38$8t6$1@nntp.qnx.com

Hi,Chris
Here is the output results while I run the commands under your prompts:

$ eclipse
Internal VM error: Failed to create Java VM
$ cd $HOME
$ pwd
/home/emp

$ export PATH=$PATH:/usr/eclipse/ive/bin

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/eclipse/ive/bin


At this point, are you able to run “j9” by itself and get the help
information printed on the console?

chris

Yes,I can run “j9” at any terminal console,however I don’t know how to use
those options to set environments of Java VM!!!

Yes,I can run “j9” at any terminal console,however I don’t know how to use
those options to set environments of Java VM!!!

Okie dokie. Nab http://qnx.wox.org/etest.sh, save it somewhere and then…

chmod 755 etest.sh
…/etest.sh

Do you get the VM error still?

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

“Chris McKillop” <cdm@qnx.com> wrote in message
news:apvhq0$d04$1@nntp.qnx.com

Yes,I can run “j9” at any terminal console,however I don’t know how to
use
those options to set environments of Java VM!!!


Okie dokie. Nab > http://qnx.wox.org/etest.sh> , save it somewhere and
then…

chmod 755 etest.sh
./etest.sh

Do you get the VM error still?

chris

I can open IDE by run etest.sh,but another error occur(I cann’t save any
modified file) and the error messages like these:(the error pictures I’ve
sent to your private mail box:cdm@qnx.com> )

…/etest.sh
*stopped,reason=“exited-normally”


Exited normallySave All Failed
Reason:
Save All Failed
Save Failed
Reason:
Save Failed
Save All Failed
Reason:
Save All Failed
-gdb-exit

(gdb)

^exit

-gdb-exit

(gdb)

^exit