On Sunday 07 December 2008 12:05:35 pm Peter Lemenkov wrote:
Hello All! Subj. Just found that on x86 and ppc OpenJDK-devel installs into "/usr/lib/jvm/java-1.6.0-openjdk", on x86_64 - into "/usr/lib/jvm/java-1.6.0-openjdk.x86_64", and on ppc64 - into "/usr/lib/jvm/java-1.6.0-openjdk.ppc64".
Is it intentional, or this is a bug? In any case how can I pass JDK home to buildscripts w/o ugly %ifarch/else?
-- With best regards!
Well, we also use alternatives to handle choosing the java version to use. If JDK_HOME is just supposed to contain 'bin/javac' then you can set it to '/usr'.