I just found this:
"/jdk1.6.0/jre:
Root directory of the Java runtime environment used by the JDK development
tools. The runtime environment is an implementation of the Java platform.
This is the directory referred to by the java.home system property."
http://209.85.129.132/search?q=cache:8l-7he
It wouldn't work since ANT looks for JAVA_HOME.
--
David Nemer
Sent from Kaiserslautern, RP, Germany
On Fri, May 15, 2009 at 11:55 PM, Francis Galiegue wrote:
> Le Friday 15 May 2009 23:50:50 David Nemer, vous avez écrit :
> > Hey all,
> >
> > Well, I did some testing, and I tried to run this si
Le Friday 15 May 2009 23:50:50 David Nemer, vous avez écrit :
> Hey all,
>
> Well, I did some testing, and I tried to run this simples Java code:
>
> public static void main(String args[]){
>
> String JAVA_HOME = System.getProperty("java.home");
> System.out.println(JAVA_HOME)
Hey all,
Well, I did some testing, and I tried to run this simples Java code:
public static void main(String args[]){
String JAVA_HOME = System.getProperty("java.home");
System.out.println(JAVA_HOME);
}
And it prints out: /opt/jdk1.6.0_06/jre
So, as Ashley said befor