<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Edgar,<br>
Thank you very much, if this works, (which I assume it does), it
will be very useful.<br>
<br>
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.<br>
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.<br>
The scripts should be put into trunk/bin in the osgeo svn directory.<br>
<br>
If you can add the scripts to svn, then I'll test them.<br>
<br>
FYI, the current directory structure on osgeo live is:<br>
<br>
user@osgeo-live:~$ ls -l /usr/lib/jvm<br>
total 8<br>
lrwxrwxrwx 1 root root 19 2011-08-25 19:50 java-6-sun ->
java-6-sun-1.6.0.26<br>
drwxr-xr-x 8 root root 4096 2011-08-25 19:51 java-6-sun-1.6.0.26<br>
drwxr-xr-x 10 500 500 4096 2011-06-27 03:02 jdk1.7.0<br>
<br>
<br>
<br>
<br>
On 15/01/12 01:17, <a class="moz-txt-link-abbreviated" href="mailto:edgar.soldin@web.de">edgar.soldin@web.de</a> wrote:
<blockquote cite="mid:4F118E93.6070706@web.de" type="cite">
<pre wrap="">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
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Live-demo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Live-demo@lists.osgeo.org">Live-demo@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/live-demo">http://lists.osgeo.org/mailman/listinfo/live-demo</a>
<a class="moz-txt-link-freetext" href="http://live.osgeo.org">http://live.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.osgeo.org/wiki/Live_GIS_Disc">http://wiki.osgeo.org/wiki/Live_GIS_Disc</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
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
<a class="moz-txt-link-freetext" href="http://www.lisasoft.com">http://www.lisasoft.com</a>
</pre>
</body>
</html>