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

Cameron Shorter cameron.shorter at gmail.com
Sun Jan 15 14:59:19 EST 2012


Edgar,
Thank you very much, if this works, (which I assume it does), it will be 
very useful.

Would you mind also including a script: install_java_switcher.sh, which 
would create java_switcher.desktop and update the suders file. I suggest 
that switch.sh would be easier to recognise if called java_switcher.sh.
Please also add a Copyright header, like all the other scripts, so that 
we know the author (yourself) has given us rights to use this script 
with OSGeo.
The scripts should be put into trunk/bin in the osgeo svn directory.

If you can add the scripts to svn, then I'll test them.

FYI, the current directory structure on osgeo live is:

user at osgeo-live:~$ ls -l /usr/lib/jvm
total 8
lrwxrwxrwx  1 root root   19 2011-08-25 19:50 java-6-sun -> 
java-6-sun-1.6.0.26
drwxr-xr-x  8 root root 4096 2011-08-25 19:51 java-6-sun-1.6.0.26
drwxr-xr-x 10  500  500 4096 2011-06-27 03:02 jdk1.7.0




On 15/01/12 01:17, edgar.soldin at web.de wrote:
> find attached a proof of concept. for testing purposes i switched between openjdk6/7.
>
> it needs an entry in /etc/sudoers
> user   ALL=(ALL) NOPASSWD: /home/user/switch.sh
>
> attached files go to
> /home/user/switch.sh
> /home/user/Desktop/java.desktop
>
> hamish probably has some idea where to place which file.
>
> ..ede
>
>
>
>
> _______________________________________________
> Live-demo mailing list
> Live-demo at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/live-demo
> http://live.osgeo.org
> http://wiki.osgeo.org/wiki/Live_GIS_Disc


-- 
Cameron Shorter
Geospatial Solutions Manager
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254

Think Globally, Fix Locally
Geospatial Solutions enhanced with Open Standards and Open Source
http://www.lisasoft.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/live-demo/attachments/20120116/e18eaf6e/attachment.html


More information about the Live-demo mailing list