can someone please tell me how to install java in Slitaz 3.0
I prefer using the opera 11.50 browser.
I have unsuccessfully tried the following as root:
#tazpkg recharge
#tazpkg get-install get-java6-jre
#get-java6-jre
can someone please tell me how to install java in Slitaz 3.0
I prefer using the opera 11.50 browser.
I have unsuccessfully tried the following as root:
#tazpkg recharge
#tazpkg get-install get-java6-jre
#get-java6-jre
If java is installed on SliTaz, go to /usr/lib/opera/plugins
and as root :
# ln -s /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so
i am confused. i only know very basics of linux. but i am trying to learn.
this is what i tried:
opened pcmanfm as root from xterm. navigated to /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so. copied the file libnpjp2.so. pasted it in /usr/lib/opera/plugins. resatrted opera. java is not working.
how should i do this?
Hi jag,
Sometimes what you tried works,this is the error at the java test site:
tux@blending:~$ opera <=start program in terminal to read error info
Didn't find JVM under /usr/lib/opera/plugins
operapluginwrapper: ../../../../src/plugin/solaris/plugin2/common/JavaVM.c:104: InitializeJVM: Assertion `foundJVM' failed.
Didn't find JVM under /usr/lib/opera/plugins
operapluginwrapper: ../../../../src/plugin/solaris/plugin2/common/JavaVM.c:104:
Delete copy of libnpjp2.so and create a symbolic link:
Open xterm,become root:
su <=su or super user click enter key
password: root <=what you type will not be displayed, click enter key
root@slitaz:~#cd /usr/lib/opera/plugins <=cd means change directory, click enter
Next command info: ln is short for link -s switch means symbolic
root@slitaz:/usr/lib/opera/plugins# ln -s /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so
Click enter
root@slitaz:/usr/lib/opera/plugins#ls -la <=ls: list files -l: long a: all
Click enter <= to verify symlink is correct
lrwxrwxrwx 1 root root 46 Jun 29 20:24 libnpjp2.so -> /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so
Restart Opera
Test java here: http://www.java.com/en/download/testjava.jsp
thanks, i was able to get java working after following your steps.
this is what i did:
1. logged in terminal as root
2. root@slitaz:~#cd /usr/lib/opera/plugins
3. root@slitaz:/usr/lib/opera/plugins# ln -s /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so
4. root@slitaz:/usr/lib/opera/plugins#ls -la
5. verified symlink: lrwxrwxrwx 1 root root 46 jun 30 09:26 libnpjp2.s0 -> /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so
its now running VERSION 6 UPDATE 17. how am i supposed to update this in future? do i need to remove this and install the new one when it becomes available? can i update to the current Version 6 update 26?
For me it not work. On my terminal I read this:
root@slitazpaola:/home/paola# cd /usr/lib/opera/plugins/
root@slitazpaola:/usr/lib/opera/plugins# ln -s /usr/lib/java/jre1.6.0_17/lib/i386/lib
npjp2.so
ln: libnpjp2.so: File exists
root@slitazpaola:/usr/lib/opera/plugins# ls -ls
0 lrwxrwxrwx 1 root root 50 Jul 4 14:40 libnpjp2.so -> /opt/jre/1.6.0_21/usr/java/jre1.6.0.21/libnpjp2.so
4 -rw-r--r-- 1 root root 137 May 13 06:47 README
Where I have been wrong? Thank you for your help.
Paola
@Paola your symlink /usr/lib/opera/plugins/libnpjp2.so is broken.
Delete broken link:
#rm /usr/lib/opera/plugins/libnpjp2.so
You must find the path to target libnpjp2.so on your java installation :
#find / -iname libnpjp2.so
Use the path to libnpjp2.so to create a valid link:
#ln -s /path/to/libnpjp2.so /usr/lib/opera/plugins/
Now it works! Yahoo!
Thank you very much,
Paola
You must log in to post.