[izpack-users] JDKPathPanel on Mac

Grégory Joseph joseph.gregory at gmail.com
Thu Dec 14 15:11:13 CET 2006


Hi list,

Why is the JDKPathPanel doing this :
            // Try the JAVA_HOME as child dir of the jdk path
            chosenPath = (new File(idata.getVariable("JAVA_HOME"))).getParent();
It seems, first, like pretty random, badly commented, but useless
remarks aside, it just plainly does not work for mac installations.
And since this panel does not verify that the selected path points to
a JDK unless you specify a minimal or maximal version requirement (I
wonder what the idea behind that was?), it just results in "succesful"
but non-working installations.

I'll try working around this by setting a variable to something like
${JAVA_HOME}, hoping in the works.

Comments, ideas, suggestions ?

Cheers,

greg



More information about the izpack-users mailing list