Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » embedded JRE
embedded JRE [message #455515] Thu, 28 September 2006 04:10 Go to next message
Karl is currently offline KarlFriend
Messages: 92
Registered: July 2009
Member
WHEN i distribute a RCP product, end users must install JRE. I want to
know whether there is a way to embedded a JRE within a product
configuration? If so, it it very convenient for the end users.
Re: embedded JRE [message #455516 is a reply to message #455515] Thu, 28 September 2006 06:24 Go to previous messageGo to next message
Carsten Spieker is currently offline Carsten SpiekerFriend
Messages: 197
Registered: July 2009
Senior Member
Hi,

I don?t know if there is a way to embed it in the product configuration
directly, but you could distribute a JRE with your RCP e.g. in the same
directory and then give the RCP the relative path to this JRE at startup via
the eclipse.ini

for example:

-vm
..\jre1.5.0_06\bin\javaw.exe


Greetz
Carsten


> WHEN i distribute a RCP product, end users must install JRE. I want to
> know whether there is a way to embedded a JRE within a product
> configuration? If so, it it very convenient for the end users.
>
Re: embedded JRE [message #455517 is a reply to message #455515] Thu, 28 September 2006 06:51 Go to previous messageGo to next message
Hans Mueller-Dieckert is currently offline Hans Mueller-DieckertFriend
Messages: 32
Registered: July 2009
Member
Hi Karl,

Karl schrieb:
> WHEN i distribute a RCP product, end users must install JRE. I want to
> know whether there is a way to embedded a JRE within a product
> configuration? If so, it it very convenient for the end users.
>

you can place it in a directory named "jre" under your RCP's main
directory. This should work without any further configuration.

You can also take a look at the description of the -vm command line
argument ( Help -> Workbench User Guide -> Tasks -> Running Eclipse )

greetings,
Hans
Re: embedded JRE [message #455518 is a reply to message #455517] Thu, 28 September 2006 07:02 Go to previous messageGo to next message
Carsten Spieker is currently offline Carsten SpiekerFriend
Messages: 197
Registered: July 2009
Senior Member
Well, this helps me too. Now I don?t have to modify eclipse.ini.

Thanks a lot!

Carsten

"Hans Mueller-Dieckert" <hmd@arcsolutions.de> schrieb im Newsbeitrag
news:effrdf$a6$1@utils.eclipse.org...
> Hi Karl,
>
> Karl schrieb:
>> WHEN i distribute a RCP product, end users must install JRE. I want to
>> know whether there is a way to embedded a JRE within a product
>> configuration? If so, it it very convenient for the end users.
>>
>
> you can place it in a directory named "jre" under your RCP's main
> directory. This should work without any further configuration.
>
> You can also take a look at the description of the -vm command line
> argument ( Help -> Workbench User Guide -> Tasks -> Running Eclipse )
>
> greetings,
> Hans
Re: embedded JRE [message #455530 is a reply to message #455517] Thu, 28 September 2006 14:54 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
If you base your product on features instead of plug-ins, you can
include things in the root of the product using properties in the
feature's build.properties file.
See the root properties here:
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. pde.doc.user/reference/pde_feature_generating_build.htm

-Andrew

Hans Mueller-Dieckert wrote:
> Hi Karl,
>
> Karl schrieb:
>> WHEN i distribute a RCP product, end users must install JRE. I want to
>> know whether there is a way to embedded a JRE within a product
>> configuration? If so, it it very convenient for the end users.
>>
>
> you can place it in a directory named "jre" under your RCP's main
> directory. This should work without any further configuration.
>
> You can also take a look at the description of the -vm command line
> argument ( Help -> Workbench User Guide -> Tasks -> Running Eclipse )
>
> greetings,
> Hans
Previous Topic:Question concerning actionSets
Next Topic:HPUX-IA64_32 export fails
Goto Forum:
  


Current Time: Fri Apr 26 20:36:53 GMT 2024

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

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

Back to the top