Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problem with RCP on HPUX(PA-RISC)
Problem with RCP on HPUX(PA-RISC) [message #662534] Thu, 31 March 2011 01:34 Go to next message
agileDSS  is currently offline agileDSS Friend
Messages: 3
Registered: March 2011
Junior Member
Hi,

When we tried to start an RCP application(Headless) on HPUX (PA-RISC) with the following command line:

java -jar org.eclipse.equinox.launcher_1.1.0.v20100507.jar -debug


We got:
Install location:
file:/rcp/
Configuration file:
file:/rcp/configuration/config.ini loaded
Configuration location:
file:/rcp/configuration/
Framework located:
file:/rcp/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar
Framework classpath:
An error occured see.........log


In the log file we have an NoClassDefFoundException for EclipseStarter


Is it something something special we need to set on HPUX.

BTW: The same app, is working on windows

Thanks,
Re: Problem with RCP on HPUX(PA-RISC) [message #662639 is a reply to message #662534] Thu, 31 March 2011 11:29 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 03/30/2011 09:34 PM, agileDSS wrote:
> Hi,
>
> When we tried to start an RCP application(Headless) on HPUX (PA-RISC)
> with the following command line:
>
> java -jar org.eclipse.equinox.launcher_1.1.0.v20100507.jar -debug
>
>
> We got:
> Install location:
> file:/rcp/
> Configuration file:
> file:/rcp/configuration/config.ini loaded
> Configuration location:
> file:/rcp/configuration/
> Framework located:
> file:/rcp/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar
> Framework classpath:
> An error occured see.........log

Are you using a product exported for HPUX? ... is it launched with the
correct os/ws/arch ?

What's the first part of the log (that starts with !SESSION) and the
first error?

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Re: Problem with RCP on HPUX(PA-RISC) [message #662670 is a reply to message #662534] Thu, 31 March 2011 13:47 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Eclipse's SWT libraries on HPUX have not been compiled for PA-RISC since the
Eclipse 3.2.2 release, so unless you or another source have recompiled them
for PA-RISC I don't think you'll be able to get Eclipse 3.6.x to work.
SWT's HPUX libraries have been compiled for IA64 since Eclipse 3.4.x

Grant


"agileDSS" <mathurin.lm@agiledss.com> wrote in message
news:in0l90$2cf$1@news.eclipse.org...
> Hi,
>
> When we tried to start an RCP application(Headless) on HPUX (PA-RISC) with
> the following command line:
>
> java -jar org.eclipse.equinox.launcher_1.1.0.v20100507.jar -debug
>
>
> We got:
> Install location:
> file:/rcp/
> Configuration file:
> file:/rcp/configuration/config.ini loaded
> Configuration location:
> file:/rcp/configuration/
> Framework located:
> file:/rcp/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar
> Framework classpath:
> An error occured see.........log
>
>
> In the log file we have an NoClassDefFoundException for EclipseStarter
>
>
> Is it something something special we need to set on HPUX.
> BTW: The same app, is working on windows
>
> Thanks,
>
Re: Problem with RCP on HPUX(PA-RISC) [message #662688 is a reply to message #662670] Thu, 31 March 2011 15:03 Go to previous messageGo to next message
agileDSS  is currently offline agileDSS Friend
Messages: 3
Registered: March 2011
Junior Member
Our RCP application does not require SWT (headless).

And we also not need any special OS fragment.
We figure it out that we can't use the launcher (because the shared library is not for the right architecture).

So that's why we tried to start the application from the command line (java ....)

Do we need to explicitly define the classpath when we start it from the command line?

Re: Problem with RCP on HPUX(PA-RISC) [message #662704 is a reply to message #662639] Thu, 31 March 2011 15:50 Go to previous messageGo to next message
agileDSS  is currently offline agileDSS Friend
Messages: 3
Registered: March 2011
Junior Member
We exported the product for HP. But in 3.6.1 their is only IA64.

But our application does not require SWT or any platform specific code.


!SESSION Wed Mar 30 16:11:15 EDT 2011 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2011-03-30 16:11:16.057
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 616)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Re: Problem with RCP on HPUX(PA-RISC) [message #662890 is a reply to message #662688] Fri, 01 April 2011 11:50 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 03/31/2011 11:03 AM, agileDSS wrote:
> So that's why we tried to start the application from the command line
> (java ....)
>
> Do we need to explicitly define the classpath when we start it from the
> command line?

That's reasonable, and you don't need the classpath. Does your
config.ini or your plugins/ directory contain any fragments that do not
match your architecture? The only thing I can suggest is that you start
with all of the standard options. ex:

java -jar org.eclipse.equinox.launcher_1.1.0.v20100507.jar -noSplash -os
hpux -ws motif -arch PA_RISC -application your.application.id -consoleLog

That will make sure those values are correct for your platform.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:Prevent a view from releasing
Next Topic:CONFIGURING ECLIPSE FOR MAC PLUGINS
Goto Forum:
  


Current Time: Mon Mar 08 17:17:11 GMT 2021

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

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

Back to the top