Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Problem with Eclipse in Linux.
Problem with Eclipse in Linux. [message #191033] Wed, 31 January 2007 14:15 Go to next message
Eclipse UserFriend
Originally posted by: smieci79.o2.pl

I am developing simple java gui project.
The problem i am having is that after starting eclipse i can run the
project but after couple times i am getting error:
Exception occurred executing command line.

Don't know what to do??
How I get what kind of exception is this?

Problem is in eclipse or in system . It happens in different projects so
it is not matter of project.
Re: Problem with Eclipse in Linux. [message #191043 is a reply to message #191033] Wed, 31 January 2007 14:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jakub.jurkiewicz.gmail.com

Krzysztof Mokrzycki wrote:
> I am developing simple java gui project.
> The problem i am having is that after starting eclipse i can run the
> project but after couple times i am getting error:
> Exception occurred executing command line.
>
> Don't know what to do??
> How I get what kind of exception is this?
>
> Problem is in eclipse or in system . It happens in different projects so
> it is not matter of project.

Hi Krzysztof,
Could you look if there are any new entries in .log file in .metadata
folder of your eclipse after the error like that?

regards,
Jakub Jurkiewicz
Re: Problem with Eclipse in Linux. [message #191068 is a reply to message #191043] Wed, 31 January 2007 15:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: smieci79.o2.pl

I didn't know how to find log file. Thanks for this info.

After this error adds this to log:

!ENTRY org.eclipse.debug.core 4 120 2007-01-31 15:01:33.574
!MESSAGE Exception occurred executing command line.
!STACK 0
java.io.IOException: java.io.IOException: Cannot allocate memory
at java.lang.ConcreteProcess.<init> (libgcj.so.7)
at java.lang.Runtime.execInternal (libgcj.so.7)
at java.lang.Runtime.exec (libgcj.so.7)
at org.eclipse.debug.core.DebugPlugin.exec (DebugPlugin.java:744)
at org.eclipse.jdt.launching.AbstractVMRunner.exec
(AbstractVMRunner.java:70)
at org.eclipse.jdt.internal.launching.StandardVMRunner.run
(StandardVMRunner.java:241)
at org.eclipse.jdt.launching.JavaLaunchDelegate.launch
(JavaLaunchDelegate.java:104)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch
(LaunchConfiguration.java:639)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch
(LaunchConfiguration.java:565)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch
(DebugUIPlugin.java:754)
at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run
(DebugUIPlugin.java:944)
at org.eclipse.core.internal.jobs.Worker.run (Worker.java:58)
Caused by: java.io.IOException: Cannot allocate memory
at java.lang.ConcreteProcess.nativeSpawn (libgcj.so.7)
at java.lang.ConcreteProcess.spawn (libgcj.so.7)
at java.lang.ConcreteProcess$ProcessManager.run (libgcj.so.7)
Re: Problem with Eclipse in Linux. [message #191090 is a reply to message #191068] Wed, 31 January 2007 15:44 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

The stack trace below indicates that you are running Eclipse under GCJ,
which is not supported. you need to install the Sun JVM and then specify
to Eclipse to use that JVM.
There are many previous newsgroup threads that talk about how to specify
the VM for Eclipse to use, search for eclipse.ini in particular.

Hope this helps,
Eric


Krzysztof Mokrzycki wrote:
> I didn't know how to find log file. Thanks for this info.
>
> After this error adds this to log:
>
> !ENTRY org.eclipse.debug.core 4 120 2007-01-31 15:01:33.574
> !MESSAGE Exception occurred executing command line.
> !STACK 0
> java.io.IOException: java.io.IOException: Cannot allocate memory
> at java.lang.ConcreteProcess.<init> (libgcj.so.7)
> at java.lang.Runtime.execInternal (libgcj.so.7)
> at java.lang.Runtime.exec (libgcj.so.7)
> at org.eclipse.debug.core.DebugPlugin.exec (DebugPlugin.java:744)
> at org.eclipse.jdt.launching.AbstractVMRunner.exec
> (AbstractVMRunner.java:70)
> at org.eclipse.jdt.internal.launching.StandardVMRunner.run
> (StandardVMRunner.java:241)
> at org.eclipse.jdt.launching.JavaLaunchDelegate.launch
> (JavaLaunchDelegate.java:104)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch
> (LaunchConfiguration.java:639)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch
> (LaunchConfiguration.java:565)
> at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch
> (DebugUIPlugin.java:754)
> at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run
> (DebugUIPlugin.java:944)
> at org.eclipse.core.internal.jobs.Worker.run (Worker.java:58)
> Caused by: java.io.IOException: Cannot allocate memory
> at java.lang.ConcreteProcess.nativeSpawn (libgcj.so.7)
> at java.lang.ConcreteProcess.spawn (libgcj.so.7)
> at java.lang.ConcreteProcess$ProcessManager.run (libgcj.so.7)
Previous Topic:How to activate emacs keybindings in dialogs
Next Topic:Redirect actions with a MultiPageEditorActionBarContributor
Goto Forum:
  


Current Time: Fri Apr 26 01:00:12 GMT 2024

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

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

Back to the top