Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » eclipse/j2sdk installation on Red Hat 9
eclipse/j2sdk installation on Red Hat 9 [message #212352] Wed, 17 March 2004 17:12 Go to next message
Eclipse UserFriend
Originally posted by: equaglia.yahoo.com

Hi.

I've just installed eclipse and j2sdk1.4.2_04 on linux (Red Hat 9).

I got the following error trying to launch eclipse for the first time.
Does anyone know how to help me on that?

Thanks,

Eduardo Quaglia.

------------------------------------------------------------ ---------
Problems during startup. Check the ¨.log¨ file in the ¨.metadata¨
directory of your workspace.

..log file:
!SESSION
------------------------------------------------------------ ----------
!ENTRY org.eclipse.core.launcher 4 0 Mar 17, 2004 10:40:21.351
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.IllegalStateException: Unable to acquire application service
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)

!SESSION
------------------------------------------------------------ ----------
!ENTRY org.eclipse.core.launcher 4 0 Mar 17, 2004 11:56:42.294
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.IllegalStateException: Unable to acquire application service
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)
------------------------------------------------------------ ---------
Re: eclipse/j2sdk installation on Red Hat 9 [message #212378 is a reply to message #212352] Wed, 17 March 2004 18:17 Go to previous messageGo to next message
strus is currently offline strusFriend
Messages: 113
Registered: July 2009
Senior Member
Be carefull to have java in your path.
It appears in some of our systems with RedHat9 that java in /usr/bin
does exit before installing a SDK and that this java is not JAVA

So try the command
java

and verify that the good java is launched

Eduardo Quaglia a écrit :

> Hi.
>
> I've just installed eclipse and j2sdk1.4.2_04 on linux (Red Hat 9).
>
> I got the following error trying to launch eclipse for the first time.
> Does anyone know how to help me on that?
>
> Thanks,
>
> Eduardo Quaglia.
>
> ------------------------------------------------------------ ---------
> Problems during startup. Check the ¨.log¨ file in the ¨.metadata¨
> directory of your workspace.
>
> .log file:
> !SESSION
> ------------------------------------------------------------ ----------
> !ENTRY org.eclipse.core.launcher 4 0 Mar 17, 2004 10:40:21.351
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.IllegalStateException: Unable to acquire application service
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:103)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
> at org.eclipse.core.launcher.Main.run(Main.java:742)
> at org.eclipse.core.launcher.Main.main(Main.java:581)
>
> !SESSION
> ------------------------------------------------------------ ----------
> !ENTRY org.eclipse.core.launcher 4 0 Mar 17, 2004 11:56:42.294
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.IllegalStateException: Unable to acquire application service
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:103)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
> at org.eclipse.core.launcher.Main.run(Main.java:742)
> at org.eclipse.core.launcher.Main.main(Main.java:581)
> ------------------------------------------------------------ ---------
>
Re: eclipse/j2sdk installation on Red Hat 9 [message #212382 is a reply to message #212378] Wed, 17 March 2004 18:30 Go to previous message
Eclipse UserFriend
Originally posted by: equaglia.yahoo.com

java (the right one) launches fine.

My $PATH is:
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/eclipse:/us r/eclipse/plugins:/usr/j2sdk/j2sdk1.4.2_04/bin:/usr/j2sdk/j2 sdk1.4.2_04/jre/bin:/usr/local/amzi/amzi_6-2-13/bin:/home/eq uaglia/bin:/usr/eclipse:/usr/eclipse/plugins:/usr/j2sdk/j2sd k1.4.2_04/bin:/usr/j2sdk/j2sdk1.4.2_04/jre/bin:

I thought it could be a problem on finding the eclipse classes, so I
also added /usr/eclipse/plugins in $CLASSPATH, but I'm not sure if
that's needed/enough and doesn't work either.

Any other tip?

Thank you,

Eduardo.

strus escreveu:
> Be carefull to have java in your path.
> It appears in some of our systems with RedHat9 that java in /usr/bin
> does exit before installing a SDK and that this java is not JAVA
>
> So try the command
> java
>
> and verify that the good java is launched
>
> Eduardo Quaglia a écrit :
>
>> Hi.
>>
>> I've just installed eclipse and j2sdk1.4.2_04 on linux (Red Hat 9).
>>
>> I got the following error trying to launch eclipse for the first time.
>> Does anyone know how to help me on that?
>>
>> Thanks,
>>
>> Eduardo Quaglia.
>>
>> ------------------------------------------------------------ ---------
>> Problems during startup. Check the ¨.log¨ file in the ¨.metadata¨
>> directory of your workspace.
>>
>> .log file:
>> !SESSION
>> ------------------------------------------------------------ ----------
>> !ENTRY org.eclipse.core.launcher 4 0 Mar 17, 2004 10:40:21.351
>> !MESSAGE Exception launching the Eclipse Platform:
>> !STACK
>> java.lang.IllegalStateException: Unable to acquire application service
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:103)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
>> at org.eclipse.core.launcher.Main.run(Main.java:742)
>> at org.eclipse.core.launcher.Main.main(Main.java:581)
>>
>> !SESSION
>> ------------------------------------------------------------ ----------
>> !ENTRY org.eclipse.core.launcher 4 0 Mar 17, 2004 11:56:42.294
>> !MESSAGE Exception launching the Eclipse Platform:
>> !STACK
>> java.lang.IllegalStateException: Unable to acquire application service
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:103)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
>> at org.eclipse.core.launcher.Main.run(Main.java:742)
>> at org.eclipse.core.launcher.Main.main(Main.java:581)
>> ------------------------------------------------------------ ---------
>>
>
Previous Topic:Smalltalk -like workbench
Next Topic:Question about best practice concerning builds and repository
Goto Forum:
  


Current Time: Mon Nov 04 19:29:42 GMT 2024

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

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

Back to the top