Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE build.properties
PDE build.properties [message #64560] Wed, 10 June 2009 09:35 Go to next message
Eclipse UserFriend
I notice that PDE headless build behaves differently on Win and Linux.
On Linux, I have to specify this in my build.properties:

bootclasspath=${jre}/lib/rt.jar

otherwise it would not find any of java.lang.* classes.

I don't have to do that on Win. Does anyone know if there's something
missing I need to set for Linux? Thanks.
Re: PDE build.properties [message #64607 is a reply to message #64560] Wed, 10 June 2009 13:46 Go to previous message
Eclipse UserFriend
If nothing is set, then the default bootclasspath is going to be
${java.home}/lib/*.jar

Ant provides access to all java system properties, here "java.home" was
expected to be set by your vm. Perhaps your vm on linux isn't setting
this property? (And setting "jre" instead?)

-Andrew

hung wrote:
> I notice that PDE headless build behaves differently on Win and Linux.
> On Linux, I have to specify this in my build.properties:
>
> bootclasspath=${jre}/lib/rt.jar
>
> otherwise it would not find any of java.lang.* classes.
>
> I don't have to do that on Win. Does anyone know if there's something
> missing I need to set for Linux? Thanks.
Re: PDE build.properties [message #598238 is a reply to message #64560] Wed, 10 June 2009 13:46 Go to previous message
Eclipse UserFriend
If nothing is set, then the default bootclasspath is going to be
${java.home}/lib/*.jar

Ant provides access to all java system properties, here "java.home" was
expected to be set by your vm. Perhaps your vm on linux isn't setting
this property? (And setting "jre" instead?)

-Andrew

hung wrote:
> I notice that PDE headless build behaves differently on Win and Linux.
> On Linux, I have to specify this in my build.properties:
>
> bootclasspath=${jre}/lib/rt.jar
>
> otherwise it would not find any of java.lang.* classes.
>
> I don't have to do that on Win. Does anyone know if there's something
> missing I need to set for Linux? Thanks.
Previous Topic:How to access external Resources (best practices wanted)
Next Topic:Target Pltatform Based On Update Site
Goto Forum:
  


Current Time: Thu Apr 24 23:53:12 EDT 2025

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

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

Back to the top