Page 1 of 1
USM GUI
Posted: 04 Jul 2014, 00:10
by Bogomips
fanthom wrote:hi Bogomips,
a) for java please download following packages through USM:
- openjre
- icedtea-web
- cups
Trying
openjre for starters. Out of search results chose an
openjre for download. Then presented with list of packages dependent on
cups lib. Deselected all excepting
openjre and
cups.
Using GUI Module Tools converted folder to
xzm:
Code: Select all
root@porteus:/home/guest# ls -lh /tmp/xzm
total 48M
-rw-r--r-- 1 root root 2.2M Jul 3 19:59 cups-1.5.4-i486-3.xzm
-rw-r--r-- 1 root root 44M Jul 3 19:59 openjre-7u51_b31-i486-2gv.xzm
-rw-r--r-- 1 root root 48K Jul 3 19:57 pycurl-7.19.0-i486-2.xzm
-rw-r--r-- 1 root root 432K Jul 3 19:57 pygobject-2.28.6-i486-2.xzm
-rw-r--r-- 1 root root 1.9M Jul 3 19:57 pygtk-2.24.0-i486-1.xzm
Module Tools 'Convert Folder to Module':
Code: Select all
guest@porteus:~$ ls -lh /tmp/xzm.xzm
-rw-r--r-- 1 root root 48M Jul 3 20:05 /tmp/xzm.xzm
Using Dolphin activated
xzm.xzm, got 'Well Done' message, but no
java to be found:
Code: Select all
find -name java
/tmp/usmunpacked/etc/java
/tmp/usmunpacked/usr/lib/java
/tmp/usmunpacked/usr/lib/java/jre/bin/java
/usr/lib/gcc/i486-slackware-linux/4.8.2/plugin/include/java
/mnt/live/memory/images/05-devel.xzm/usr/lib/gcc/i486-slackware-linux/4.8.2/plugin/include/java
Although listing of Module xzm.xzm has file
/usr/lib/java/jre/bin/java
(Previously from Dolphin have successfully deactivated Opera in base, followed by activation of Firefox module in another partition, with Firefox working fine.)
Re: USM GUI
Posted: 04 Jul 2014, 01:09
by brokenman
Then the $PATH environment variable is not being passed.
Try opening a terminal and typing:
Then test your java again from this terminal session. You will need to make this permanent.
Code: Select all
echo "export PATH=$PATH:/usr/lib/java/jre/bin" > /etc/profile.d/java.sh
chmod +x /etc/profile.d/java.sh
I would also export $JAVA_HOME for safe keeping.
Code: Select all
echo "export JAVA_HOME=/usr/lib/java" >> /etc/profile.d/java.sh
Re: USM GUI
Posted: 04 Jul 2014, 07:25
by fanthom
Module Tools 'Convert Folder to Module':
i have the impression that you have converted a folder full of modules into one big module which makes no sense.
you should activate all xzm modules from /tmp/xzm instead.
Re: USM GUI
Posted: 04 Jul 2014, 17:09
by Bogomips
Just wanted to see if this was possible in one fell swoop
When the 'Well Done' message came through, thought it should have worked ... Anyways more than one way to skin a cat. Selected
all in
/tmp/xzm, right-clicked and
activated. Got just the one fleeting 'Well Done' message regarding
jre, and that was that.
brokenman wrote:Then the $PATH environment variable is not being passed.
Try opening a terminal and typing:
Then test your java again from this terminal session. You will need to make this permanent.
This time java is present
Code: Select all
oot@porteus:/home/guest# ls /usr/lib/java
jre/ jre7u51_b31@
root@porteus:/home/guest# ls /usr/lib/java/jre/bin
java* orbd* policytool* rmiregistry* tnameserv*
keytool* pack200* rmid* servertool* unpack200*
so
Code: Select all
guest@porteus:~$ PATH=$PATH:/usr/lib/java/jre/bin
guest@porteus:~$ jav -version
bash: jav: command not found
guest@porteus:~$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.5) (Slackware)
OpenJDK Client VM (build 24.51-b03, mixed mode)
fanthom wrote:Module Tools 'Convert Folder to Module':
i have the impression that you have converted a folder full of modules into one big module which makes no sense.
Would it not make sense if there is more than one module in folder
modules for one to have a self-contained module like say
java.xzm thus reducing risk of a module mix up between different applications?
Gone on to do 'icedtea-web', a breeze in comparison. This install seems to meet requirements, as Java applet in browser works a treat.
Re: USM GUI
Posted: 04 Jul 2014, 22:44
by Bogomips
Thanks, Ed. Have perused thread, but for the moment requirements are modest, and the above seems to fit the bill.
Been able to have a fairly complicated java applet (for card game somewhat akin to bridge) working flawlessly so far.