Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE build.properties
PDE build.properties [message #64560] Wed, 10 June 2009 13:35 Go to next message
hung is currently offline hungFriend
Messages: 117
Registered: July 2009
Senior Member
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 17:46 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
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 17:46 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
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: Tue Apr 23 16:39:31 GMT 2024

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

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

Back to the top