Am 01.05.2013 05:03, schrieb Ted Byers:
I am trying to compile Apache's OFBiz on a virtual machine running OpenSuse 12.3. When I type 'java -version' into bash, I am told that the java version is OpenJDK java version 1.7.0_17. But, when I try to run ant in the ofbiz directory, to build it, it is claiming that it detected java 1.5, which is not supported and so the build dies.
Is there any chance there is some remnant of Java 1.5 hiding somewhere in this VM? How would I examine any environment variables related to java that may have been defined when Java was installed (it would have to be the installer as I did not define any).
Thanks
Ted For compiling the version of javac (not java) matters, if you have it not installed go and install openjdk-devel (java-1_7_0-openjdk-devel). The 1.5 you see is probably a version of gcj. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org