[PATCH][icedtea-web] use JRE in launchers

Michal Vyskocil mvyskocil at suse.cz
Mon Jul 11 00:23:10 PDT 2011


On Fri, Jul 08, 2011 at 04:02:08PM +0100, Andrew John Hughes wrote:
> On Fri, Jul 08, 2011 at 09:30:07AM +0200, Michal Vyskocil wrote:
> > Hi,
> > 
> > following patch changes the JAVA=@JAVA@ to JAVA=@JRE@/bin/java in
> > launchers. The reason is @JAVA@ refers to SDK location used for build
> > of icedtea-web and that path is not usable on some distributions (not
> > surprising that openSUSE is the one :)). Usage of @JRE@ is much correct
> > in this case.
> > 
> > Changelog:
> > 
> > 2011-07-08 Michal Vyskocil <mvyskocil at suse.cz>
> > 
> > 	* launcher/itweb-settings.in: use @JRE@ in JAVA location
> > 	* launcher/javaws.in: use @JRE@ in JAVA location
> > 
> > Regards
> > Michal Vyskocil
> 
> No, --with-java should be used to point to a java binary.  If you're
> pointing it to a directory, you're using the option wrongly.
> 
> The --with-jdk-home is used for pointing to the jdk and --with-java
> will default to ${JDK_HOME}/bin/java.

Thanks,

I must overlooked the --with-java option.

Regards
Michal Vyskocil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110711/9fff225e/attachment.bin 


More information about the distro-pkg-dev mailing list