Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: David Engster <deng@ra...> - 2012-02-05 17:44:31
|
Eric M. Ludlam writes: > On 01/24/2012 02:11 AM, Joel Borggren-Franck wrote: >> But here is a list to get you started looking: >> - Oracle supplied bundle: JAVA_HOME/jre/lib/rt.jar >> - Mac OS X JDK 6: >> /Library/Java/JavaVirtualMachines/1.6.0_29-b11-402.jdk/Contents/Classes/classes.jar >> - Max OS X Oracle JDK 7 Preview: /Library/Java/JavaVirtualMachines/JDK >> 1.7.0 Developer Preview.jdk/Contents/Home/jre/lib/rt.jar >> - On Windows JAVA_HOME is usually a variation of C:\Program Files\Java ... > > Does anyone know if there is an existing Emacs tool/lib that knows this > stuff? I don't think so. But shouldn't it be enough to simply use JAVA_HOME/jre/lib? If JAVA_HOME isn't defined, you can check the location of the java binary as fallback and go one level up from there. But if that still doesn't work, just throw an error and ask the user to define JAVA_HOME properly. The fun is that there are different definitions out there of where JAVA_HOME should point to, but I think it has more or less settled to the top level of a JDK installation. -David |