Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse crashes during tutorial
Eclipse crashes during tutorial [message #256717] Mon, 19 May 2008 13:59 Go to next message
Eclipse UserFriend
Hi,

I'm tryng to run the Java Development User Guide Basic Tutorial, and
when I get to the part

Creating your first Java project
Getting the Sample Code (JUnit)

and I click on the link to download the Junit source code, Eclipse
disappears, and an error message window appears.

-------------------------------------------

Here's the error message:

VM terminated. Exit code=1
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-jar
/home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/rgeddes/eclipse/Europa/eclipse/eclipse
-name Eclipse
--launcher.library
/home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher.gtk.linux.x86_64_1.0.3.R33x_v20080118/eclipse_ 1023.so
-startup
/home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
-exitdata 37000e
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-jar
/home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar

---------------------------------------

I was using java version 1.6 and because of the
'requiredJavaVersion=1.5' messages, tried switching to 1.5 java, but I
get the same results.

--------------------------------------

Here are some of my system components:

eclipse.buildId=M20080221-1800
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64



Any hints as to why Eclipse crashes is appreciated
Richard
Re: Eclipse crashes during tutorial [message #256796 is a reply to message #256717] Tue, 20 May 2008 11:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Richard Geddes wrote:
> Hi,
>
> I'm tryng to run the Java Development User Guide Basic Tutorial, and
> when I get to the part
>
> Creating your first Java project
> Getting the Sample Code (JUnit)
>
> and I click on the link to download the Junit source code, Eclipse
> disappears, and an error message window appears.

Many problems running Eclipse on Linux are due to gcj being the system
default JVM. On your system, what is the result of running java -version
on the executable under /usr/bin/java ?

If you Google "eclipse gcj" you'll find lots of information on the
subject, including a link to this page that tell you how to make sure
Eclipse runs under the Sun JVM: http://wiki.eclipse.org/Eclipse.ini

Hope this helps,
Eric


>
> -------------------------------------------
>
> Here's the error message:
>
> VM terminated. Exit code=1
> /usr/bin/java
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx256m
> -jar
> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>
> -os linux
> -ws gtk
> -arch x86_64
> -showsplash
> -launcher /home/rgeddes/eclipse/Europa/eclipse/eclipse
> -name Eclipse
> --launcher.library
> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher.gtk.linux.x86_64_1.0.3.R33x_v20080118/eclipse_ 1023.so
>
> -startup
> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>
> -exitdata 37000e
> -vm /usr/bin/java
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx256m
> -jar
> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>
>
> ---------------------------------------
>
> I was using java version 1.6 and because of the
> 'requiredJavaVersion=1.5' messages, tried switching to 1.5 java, but I
> get the same results.
>
> --------------------------------------
>
> Here are some of my system components:
>
> eclipse.buildId=M20080221-1800
> eclipse.commands=-os
> linux
> -ws
> gtk
> -arch
> x86_64
>
>
>
> Any hints as to why Eclipse crashes is appreciated
> Richard
Re: Eclipse crashes during tutorial [message #256800 is a reply to message #256796] Tue, 20 May 2008 15:34 Go to previous messageGo to next message
Eclipse UserFriend
I'm pretty sure I'm using sun 1.6

$0> java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)


R

Eric Rizzo wrote:
> Richard Geddes wrote:
>> Hi,
>>
>> I'm tryng to run the Java Development User Guide Basic Tutorial, and
>> when I get to the part
>>
>> Creating your first Java project
>> Getting the Sample Code (JUnit)
>>
>> and I click on the link to download the Junit source code, Eclipse
>> disappears, and an error message window appears.
>
> Many problems running Eclipse on Linux are due to gcj being the system
> default JVM. On your system, what is the result of running java -version
> on the executable under /usr/bin/java ?
>
> If you Google "eclipse gcj" you'll find lots of information on the
> subject, including a link to this page that tell you how to make sure
> Eclipse runs under the Sun JVM: http://wiki.eclipse.org/Eclipse.ini
>
> Hope this helps,
> Eric
>
>
>>
>> -------------------------------------------
>>
>> Here's the error message:
>>
>> VM terminated. Exit code=1
>> /usr/bin/java
>> -Dosgi.requiredJavaVersion=1.5
>> -Xms40m
>> -Xmx256m
>> -jar
>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>>
>> -os linux
>> -ws gtk
>> -arch x86_64
>> -showsplash
>> -launcher /home/rgeddes/eclipse/Europa/eclipse/eclipse
>> -name Eclipse
>> --launcher.library
>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher.gtk.linux.x86_64_1.0.3.R33x_v20080118/eclipse_ 1023.so
>>
>> -startup
>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>>
>> -exitdata 37000e
>> -vm /usr/bin/java
>> -vmargs
>> -Dosgi.requiredJavaVersion=1.5
>> -Xms40m
>> -Xmx256m
>> -jar
>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>>
>>
>> ---------------------------------------
>>
>> I was using java version 1.6 and because of the
>> 'requiredJavaVersion=1.5' messages, tried switching to 1.5 java, but I
>> get the same results.
>>
>> --------------------------------------
>>
>> Here are some of my system components:
>>
>> eclipse.buildId=M20080221-1800
>> eclipse.commands=-os
>> linux
>> -ws
>> gtk
>> -arch
>> x86_64
>>
>>
>>
>> Any hints as to why Eclipse crashes is appreciated
>> Richard
Re: Eclipse crashes during tutorial [message #256804 is a reply to message #256800] Tue, 20 May 2008 15:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

Might be something in here that could help:

http://wiki.eclipse.org/IRC_FAQ

If not, try #eclipse on freenode, and someone in there might be able to
offer assistance.

Nick

Richard Geddes wrote:
> I'm pretty sure I'm using sun 1.6
>
> $0> java -version
> java version "1.6.0_06"
> Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
>
>
> R
>
> Eric Rizzo wrote:
>> Richard Geddes wrote:
>>> Hi,
>>>
>>> I'm tryng to run the Java Development User Guide Basic Tutorial, and
>>> when I get to the part
>>>
>>> Creating your first Java project
>>> Getting the Sample Code (JUnit)
>>>
>>> and I click on the link to download the Junit source code, Eclipse
>>> disappears, and an error message window appears.
>>
>> Many problems running Eclipse on Linux are due to gcj being the system
>> default JVM. On your system, what is the result of running java
>> -version on the executable under /usr/bin/java ?
>>
>> If you Google "eclipse gcj" you'll find lots of information on the
>> subject, including a link to this page that tell you how to make sure
>> Eclipse runs under the Sun JVM: http://wiki.eclipse.org/Eclipse.ini
>>
>> Hope this helps,
>> Eric
>>
>>
>>>
>>> -------------------------------------------
>>>
>>> Here's the error message:
>>>
>>> VM terminated. Exit code=1
>>> /usr/bin/java
>>> -Dosgi.requiredJavaVersion=1.5
>>> -Xms40m
>>> -Xmx256m
>>> -jar
>>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>>>
>>> -os linux
>>> -ws gtk
>>> -arch x86_64
>>> -showsplash
>>> -launcher /home/rgeddes/eclipse/Europa/eclipse/eclipse
>>> -name Eclipse
>>> --launcher.library
>>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher.gtk.linux.x86_64_1.0.3.R33x_v20080118/eclipse_ 1023.so
>>>
>>> -startup
>>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>>>
>>> -exitdata 37000e
>>> -vm /usr/bin/java
>>> -vmargs
>>> -Dosgi.requiredJavaVersion=1.5
>>> -Xms40m
>>> -Xmx256m
>>> -jar
>>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>>>
>>>
>>> ---------------------------------------
>>>
>>> I was using java version 1.6 and because of the
>>> 'requiredJavaVersion=1.5' messages, tried switching to 1.5 java, but
>>> I get the same results.
>>>
>>> --------------------------------------
>>>
>>> Here are some of my system components:
>>>
>>> eclipse.buildId=M20080221-1800
>>> eclipse.commands=-os
>>> linux
>>> -ws
>>> gtk
>>> -arch
>>> x86_64
Re: Eclipse crashes during tutorial [message #256808 is a reply to message #256804] Tue, 20 May 2008 19:48 Go to previous message
Eclipse UserFriend
Thanks for the input... Iĺl give the irc a try. In the meantime, I
discovered that it was the JVM that was being crashed by some native
code call libxul.so... here's a section of the JVM error log:

------------------
# SIGSEGV (0xb) at pc=0x00007fd5f6c698b1, pid=9638, tid=1096153424
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b22 mixed mode
linux-amd64)
# Problematic frame:
# C [libxul.so+0xbd88b1]
-------------------

Also, I found that the online docs have a different link than the link
in the docs I downloaded. The online docs seem to be ok... I guess the
libxul.so isn't involved... so I'll continue with the tutorial from the
online docs.

R



Nick Boldt wrote:
> Might be something in here that could help:
>
> http://wiki.eclipse.org/IRC_FAQ
>
> If not, try #eclipse on freenode, and someone in there might be able to
> offer assistance.
>
> Nick
>
> Richard Geddes wrote:
>> I'm pretty sure I'm using sun 1.6
>>
>> $0> java -version
>> java version "1.6.0_06"
>> Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
>> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
>>
>>
>> R
>>
>> Eric Rizzo wrote:
>>> Richard Geddes wrote:
>>>> Hi,
>>>>
>>>> I'm tryng to run the Java Development User Guide Basic Tutorial, and
>>>> when I get to the part
>>>>
>>>> Creating your first Java project
>>>> Getting the Sample Code (JUnit)
>>>>
>>>> and I click on the link to download the Junit source code, Eclipse
>>>> disappears, and an error message window appears.
>>>
>>> Many problems running Eclipse on Linux are due to gcj being the
>>> system default JVM. On your system, what is the result of running
>>> java -version on the executable under /usr/bin/java ?
>>>
>>> If you Google "eclipse gcj" you'll find lots of information on the
>>> subject, including a link to this page that tell you how to make sure
>>> Eclipse runs under the Sun JVM: http://wiki.eclipse.org/Eclipse.ini
>>>
>>> Hope this helps,
>>> Eric
>>>
>>>
>>>>
>>>> -------------------------------------------
>>>>
>>>> Here's the error message:
>>>>
>>>> VM terminated. Exit code=1
>>>> /usr/bin/java
>>>> -Dosgi.requiredJavaVersion=1.5
>>>> -Xms40m
>>>> -Xmx256m
>>>> -jar
>>>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>>>>
>>>> -os linux
>>>> -ws gtk
>>>> -arch x86_64
>>>> -showsplash
>>>> -launcher /home/rgeddes/eclipse/Europa/eclipse/eclipse
>>>> -name Eclipse
>>>> --launcher.library
>>>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher.gtk.linux.x86_64_1.0.3.R33x_v20080118/eclipse_ 1023.so
>>>>
>>>> -startup
>>>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>>>>
>>>> -exitdata 37000e
>>>> -vm /usr/bin/java
>>>> -vmargs
>>>> -Dosgi.requiredJavaVersion=1.5
>>>> -Xms40m
>>>> -Xmx256m
>>>> -jar
>>>> /home/rgeddes/eclipse/Europa/eclipse/plugins/org.eclipse.equ inox.launcher_1.0.1.R33x_v20080118.jar
>>>>
>>>>
>>>> ---------------------------------------
>>>>
>>>> I was using java version 1.6 and because of the
>>>> 'requiredJavaVersion=1.5' messages, tried switching to 1.5 java, but
>>>> I get the same results.
>>>>
>>>> --------------------------------------
>>>>
>>>> Here are some of my system components:
>>>>
>>>> eclipse.buildId=M20080221-1800
>>>> eclipse.commands=-os
>>>> linux
>>>> -ws
>>>> gtk
>>>> -arch
>>>> x86_64
Previous Topic:Local file system explorer in Eclipse Navigator
Next Topic:Accessing db2 from plugin project
Goto Forum:
  


Current Time: Wed Jun 11 01:20:46 EDT 2025

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

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

Back to the top