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

Andrew John Hughes ahughes at redhat.com
Fri Jul 8 08:02:08 PDT 2011


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.
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D  0698 0713 C3ED F586 2A37



More information about the distro-pkg-dev mailing list