You are not logged in.
Pages: 1
I am a beginner regarding Linux...
How can I install Java JRE7 on Slitaz?
Have been the archives from:
http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jre-7u3-linux-i586.tar.gz
downloaded and to /usr/bin/java/ unpacked.
However, the *.jar files a not running and WebStart does not work!?
Can you tell me step by step how I must proceed to integrate the jre7?
Offline
Start the executable file in /usr/lib/java with in a root konsole and show the output here.
Which file there is executable?
(And keep in mind: it might be that jre-7u3 will not work under Slitaz 4.0)
Offline
Don't we have any additional experts here to help him out?
I am sorry: Java is not my hobby. But this guest is not that much experienced so we should support him, shouldn't we?
Offline
First, make sure no java-jre apps installed on your system, if any other java-jre version (such as java-jdk version) you must uninstalling first.
Open terminal (xterm), and:
tux@slitaz:~$ cd /TO/WHERE/YOUR_PUT_TAR.GZ_FILE (press Enter)
Extracting your tar.gz:
tux@slitaz:~$ tar -xzvf jre-7u3-linux-i586.tar.gz (press Enter)
Open other terminal and switch to your ROOT
tux@slitaz:~$ su
Password:(ENTER_YOUR_ROOT_PASSWORD_HERE and press Enter)
make new directory:
root@slitaz:# mkdir -p /usr/lib/java (press Enter)
remove and symlinking your java apps FOLDER:
root@slitaz:# mv /WHERE_YOUR_EXTRACTION/THE_FOLDER_WITH_NAME/jre1.7.0_03 /usr/lib/java (press Enter)
root@slitaz:# ln -s /usr/lib/java/jre1.7.0_03/bin/java /usr/bin (press Enter)
and if you need java plungins for your Firefox Browser you can activate and
make sure "plugins" directory is out in /usr/lib/mozilla and if no you can creating and
symlinking java plugins with:
root@slitaz:# mkdir -p /usr/lib/mozilla/plugins (press Enter)
root@slitaz:# ln -s /usr/lib/java/jre1.7.0_03/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins (press Enter)
close all apps and reboot (do not logout) your slitaz.
After your login again, open your Firefox browser and typing on address-bar: about:plugins (press Enter)
Offline
Thanks a lot, @Saipul. Really: I did not know that it is that easy... ;-)
@guest_account: in case you would have started your thread in English most likely such a contribution would have appeared yesterday.
Offline
@Saipul
Thanks for the help ...
I installed it according to instructions. The plugin is available in Firefox and the Java Test Passed: http://www.java.com/de/download/testjava.jsp
However, I still can not run *. Jar files, it still lacks conjure the program assignment?
And also Java Web Start (download and open launch.jnlp) does not work yet!?
@michaelbischof
What is there in fact the German forum?
Offline
The number of Geman-speaking people is simply much smaller as compared to the ,,rest". In case you have a kind of urgent thing to solve the Englisch forum then brings more likely a result in a much shorter time. And as you see here: it really seems to be like that! ;-)
Offline
For running .jar files you must run from xterm with command:
tux@slitaz:~$ java -jar /POINTING/TO/WHERE/YOU_PUT_JAR_FILE/jar_file_name.jar (press Enter)
And for .jnlp you should try with command:
tux@slitaz:~$ /usr/lib/java/jre1.7.0_03/bin/javaws /POINTING/TO/WHERE/YOU_PUT_JNLP_FILE/jnlp_file_name.jnlp (press Enter) if this fail, maybe that .jnlp file still use option command from older java version.
Offline
@Saipul
Ok, that works ... Thank you!
But can I also this assign as default? So I do not always have to use the terminal?
I need to access Java on the Serial-Interface and should use rxtx:
http://rxtx.qbang.org/wiki/index.php/Installation_on_Linux
I copy the files accordingly, but there are no interfaces listed? Do I have to also configure something?
Offline
I thing RXTXcomm is just dependency library for developing/building Communacation-Application using java language through comm-port or usb-port. This is not stand-alone application. See http://rxtx.qbang.org/wiki/index.php/FAQ what is RXTX does and read what is mean by "Where can I find information about how to write apps using RXTX?"
Offline
Yes, but under Windows XP I use lists all existing Serial port correctly! Only here at SliTaz provides the same application without results? And I'm just following the instructions Copy the files in the folder?
Offline
P.S. Where can I find a Control Panel in Slitaz which lists the existing Serial and Parallel port?
Offline
SliTaz doesn't really have one, but it should be listed by the [c]dmesg[/c] command if it's connected (serial devices will either be named ttyS0 or ttyS1). Not so sure about parallel ports naming conventions.
Offline
Under Slitaz 4.0 RC3:
The button down left (Anwendungen/Applications), Resources-Systeminformation, Resources I/O Ports:
03f8-03ff serial
Is this what you need?
Offline
Having followed Saipul's instructions above, Java is not working in Firefox. Am using Slitaz 4.0, Firefox 12.0, and have this folder installed:
/usr/lib/java/jre1.7.0_04/
Linux relative beginner.
Offline
Open terminal
su , password: root
Make mozilla firefox plugins folder if it doesn't exist:
mkdir -p /usr/lib/mozilla/plugins
Make symlink from libnpjp2.so java plugin to /usr/lib/mozilla/plugins folder:
ln -s /usr/lib/java/jre1.7.0_04/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins
Close/open firefox
Test install here: http://www.java.com/en/download/testjava.jsp
Offline
That worked.
All I did was
Open terminal
su , password: root
ln -s /usr/lib/java/jre1.7.0_04/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins
Close/open firefox
Oddly, when clicking the test install link the first couple of times, the browser crashed, but thereafter it stopped crashing, and now says, "Your Java is working."
Offline
Now that Firefox has automatically updated itself, java no longer works in it. How can I link java to the updated browser?
Update: I just tested if Java worked in the Chrome browser I've previously installed, and it does, so problem solved there. However, I generally prefer to use Firefox because I find it works faster than Chrome in SliTaz.
Offline
You need to remove java6-jre
tazpkg remove java6-jre
Then
tazpkg get-install java6-jre
That is how I fixed my problem
which was the same
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]