Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » JVM terminated when trying to create java class with Visual Editor
JVM terminated when trying to create java class with Visual Editor [message #125521] Fri, 02 June 2006 20:25 Go to next message
Eclipse UserFriend
Originally posted by: lovejoy.us.ibm.com

I installed Visual Editor using the instructions at the link
http://www.eclipse.org/vep/WebContent/faq.html#install_howto .

When I try to create a new java class using the Visual Editor I get the
following error:

JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx256m
-jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /afs/btv.ibm.com/u3/lovejoy/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 105000d
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar

What am I doing (did I do) wrong?
Re: JVM terminated when trying to create java class with Visual Editor [message #125536 is a reply to message #125521] Fri, 02 June 2006 20:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jefmyers.us.ibm.com

Steve,

What JRE are you using to run Eclipse? (i.e. what's the output of
/usr/bin/java -version) VE is not compatible with GCJ, if you're using
that, you'll need to install and run with a Sun or IBM JRE instead.

Hope this helps,
- Jeff
Re: JVM terminated when trying to create java class with Visual Editor [message #125590 is a reply to message #125536] Mon, 05 June 2006 12:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lovejoy.us.ibm.com

Output of /usr/bin/java -version

java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20050929 (SR3)
(JIT enabled: jitc))
Re: JVM terminated when trying to create java class with Visual Editor [message #125604 is a reply to message #125590] Mon, 05 June 2006 15:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I've had problems with the "Classic" vm. Try adding the VM argument -Xj9
(this is case-sensitive. must -Xj9).

Steve Lovejoy wrote:
> Output of /usr/bin/java -version
>
> java version "1.4.2"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
> Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20050929 (SR3)
> (JIT enabled: jitc))
>
>

--
Thanks,
Rich Kulp
Re: JVM terminated when trying to create java class with Visual Editor [message #125653 is a reply to message #125604] Mon, 05 June 2006 17:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lovejoy.us.ibm.com

Tried the following command:

eclipse -vm /usr/bin/java -Xj9 -vmargs

Is that the proper command?

I create the visual editor class and then I try to edit it. It briefly
flashed what looked like the proper screen to create/edit the actual java
code and then get:

JVM terminated. Exit code=1
/usr/bin/java
-jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /afs/btv.ibm.com/u3/lovejoy/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 119800c
-Xj9
-vm /usr/bin/java
-vmargs
-jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
Re: JVM terminated when trying to create java class with Visual Editor [message #125677 is a reply to message #125653] Mon, 05 June 2006 20:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

It's the other way around.

-vm /usr/bin/java -vmargs -Xj9

Steve Lovejoy wrote:
> Tried the following command:
>
> eclipse -vm /usr/bin/java -Xj9 -vmargs
>
> Is that the proper command?
>
> I create the visual editor class and then I try to edit it. It briefly
> flashed what looked like the proper screen to create/edit the actual
> java code and then get:
>
> JVM terminated. Exit code=1
> /usr/bin/java
> -jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
> -os linux
> -ws gtk
> -arch x86
> -launcher /afs/btv.ibm.com/u3/lovejoy/eclipse/eclipse
> -name Eclipse
> -showsplash 600
> -exitdata 119800c
> -Xj9
> -vm /usr/bin/java
> -vmargs
> -jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar

--
Thanks,
Rich Kulp
Re: JVM terminated when trying to create java class with Visual Editor [message #125954 is a reply to message #125677] Fri, 09 June 2006 17:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lovejoy.us.ibm.com

Thanks. I tried it again. The Visual editor starts up, goes into Loading
... then hangs. The following error was printed:

JVM terminated. Exit code=1
/usr/bin/java
-jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /afs/btv.ibm.com/u3/lovejoy/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 80005
-Xj9
-vm /usr/bin/java
-vmargs
-jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
Re: JVM terminated when trying to create java class with Visual Editor [message #125979 is a reply to message #125954] Fri, 09 June 2006 19:36 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I don't know. Can you try Sun's 1.4.2 instead? There is something wrong
the Java.

Steve Lovejoy wrote:
> Thanks. I tried it again. The Visual editor starts up, goes into
> Loading ... then hangs. The following error was printed:
>
> JVM terminated. Exit code=1
> /usr/bin/java
> -jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
> -os linux
> -ws gtk
> -arch x86
> -launcher /afs/btv.ibm.com/u3/lovejoy/eclipse/eclipse
> -name Eclipse
> -showsplash 600
> -exitdata 80005
> -Xj9
> -vm /usr/bin/java
> -vmargs
> -jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar

--
Thanks,
Rich Kulp
Re: JVM terminated when trying to create java class with Visual Editor [message #613002 is a reply to message #125521] Fri, 02 June 2006 20:35 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
Steve,

What JRE are you using to run Eclipse? (i.e. what's the output of
/usr/bin/java -version) VE is not compatible with GCJ, if you're using
that, you'll need to install and run with a Sun or IBM JRE instead.

Hope this helps,
- Jeff
Re: JVM terminated when trying to create java class with Visual Editor [message #613011 is a reply to message #125536] Mon, 05 June 2006 12:49 Go to previous message
Eclipse UserFriend
Originally posted by: lovejoy.us.ibm.com

Output of /usr/bin/java -version

java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20050929 (SR3)
(JIT enabled: jitc))
Re: JVM terminated when trying to create java class with Visual Editor [message #613013 is a reply to message #125590] Mon, 05 June 2006 15:06 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I've had problems with the "Classic" vm. Try adding the VM argument -Xj9
(this is case-sensitive. must -Xj9).

Steve Lovejoy wrote:
> Output of /usr/bin/java -version
>
> java version "1.4.2"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
> Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20050929 (SR3)
> (JIT enabled: jitc))
>
>

--
Thanks,
Rich Kulp
Re: JVM terminated when trying to create java class with Visual Editor [message #613019 is a reply to message #125604] Mon, 05 June 2006 17:43 Go to previous message
Eclipse UserFriend
Originally posted by: lovejoy.us.ibm.com

Tried the following command:

eclipse -vm /usr/bin/java -Xj9 -vmargs

Is that the proper command?

I create the visual editor class and then I try to edit it. It briefly
flashed what looked like the proper screen to create/edit the actual java
code and then get:

JVM terminated. Exit code=1
/usr/bin/java
-jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /afs/btv.ibm.com/u3/lovejoy/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 119800c
-Xj9
-vm /usr/bin/java
-vmargs
-jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
Re: JVM terminated when trying to create java class with Visual Editor [message #613021 is a reply to message #125653] Mon, 05 June 2006 20:22 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

It's the other way around.

-vm /usr/bin/java -vmargs -Xj9

Steve Lovejoy wrote:
> Tried the following command:
>
> eclipse -vm /usr/bin/java -Xj9 -vmargs
>
> Is that the proper command?
>
> I create the visual editor class and then I try to edit it. It briefly
> flashed what looked like the proper screen to create/edit the actual
> java code and then get:
>
> JVM terminated. Exit code=1
> /usr/bin/java
> -jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
> -os linux
> -ws gtk
> -arch x86
> -launcher /afs/btv.ibm.com/u3/lovejoy/eclipse/eclipse
> -name Eclipse
> -showsplash 600
> -exitdata 119800c
> -Xj9
> -vm /usr/bin/java
> -vmargs
> -jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar

--
Thanks,
Rich Kulp
Re: JVM terminated when trying to create java class with Visual Editor [message #613328 is a reply to message #125677] Fri, 09 June 2006 17:45 Go to previous message
Eclipse UserFriend
Originally posted by: lovejoy.us.ibm.com

Thanks. I tried it again. The Visual editor starts up, goes into Loading
... then hangs. The following error was printed:

JVM terminated. Exit code=1
/usr/bin/java
-jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /afs/btv.ibm.com/u3/lovejoy/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 80005
-Xj9
-vm /usr/bin/java
-vmargs
-jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
Re: JVM terminated when trying to create java class with Visual Editor [message #613330 is a reply to message #125954] Fri, 09 June 2006 19:36 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I don't know. Can you try Sun's 1.4.2 instead? There is something wrong
the Java.

Steve Lovejoy wrote:
> Thanks. I tried it again. The Visual editor starts up, goes into
> Loading ... then hangs. The following error was printed:
>
> JVM terminated. Exit code=1
> /usr/bin/java
> -jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar
> -os linux
> -ws gtk
> -arch x86
> -launcher /afs/btv.ibm.com/u3/lovejoy/eclipse/eclipse
> -name Eclipse
> -showsplash 600
> -exitdata 80005
> -Xj9
> -vm /usr/bin/java
> -vmargs
> -jar /afs/btv.ibm.com/u3/lovejoy/eclipse/startup.jar

--
Thanks,
Rich Kulp
Previous Topic:Anybody is extending VE to create their own IDE?
Next Topic:Can I use VE to make RCP applications for Eclipse?
Goto Forum:
  


Current Time: Sat Apr 27 04:35:01 GMT 2024

Powered by FUDForum. Page generated in 0.03839 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top