[Live-demo] Where should JAVA_HOME be set (if overriding default=openjdk 1.7)?

edgar.soldin at web.de edgar.soldin at web.de
Fri Jan 13 11:12:25 EST 2012


On 12.01.2012 22:53, Hamish wrote:
>  
>> easiest solution i see is: as all projects set up
>> symlinks in /usr/bin they can as well put a
>> wrapper script there instead which fixes the
>> environment (JAVA_HOME,PATH) and runs the
>> launcher.
> 
> as a rule, custom things go into /usr/local/bin
> not /usr/bin.

actually no. 
http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
"/usr/local/ - Tertiary hierarchy for local data, specific to this host. Typically has further subdirectories, e.g., bin/, lib/, share/"
this becaomes important if the os is started from the network.

while 
"/usr/bin/ - Non-essential command binaries (not needed in single user mode); for all users."

also, if app binaries are stored in /usr/lib then a symlink in /usr/bin seems plausible.

but for the live-dvd all this might be of less significance. ..ede



More information about the Live-demo mailing list