Technical Discussion
  >> Linux Issues


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | 2 | (show all)   Print Thread
Standard User bsanotrun
(regular) Sat 28-May-11 23:21:28
Print Post

PuppyLinux and Java


[link to this post]
 
I have put Puppy Wary5 linux on an old win98 PC works great but i cant get Java installed
i have got this far, but still not working

downloaded jre-6u25-linux-i586.bin and saved it to usr/local/bin
made executable, then with rox run ./jre-6u25-linux-i586.bin
it unpacked and run but i did not get a licence agreement to agree to ? but it did put a folder named jre in the bin folder with what seems to be the java elements listed below inside.

then made a simlink in usr/lib/mozilla plugins
ln -s /usr/local/bin/jrel.6.0.25/plugin/i386/ns7/libjavaplugin_oji.so./libjavaplugin_ojf.so

this simlink seems to be wrong, as if i look in its permissions it says
error: no such file or directory

also from searching how to do this some guides say the simlink should be in the seamonkey/plugin folder some say the mozilla/plugin folder which is correct

Thanks for any help
Standard User dustofnations
(regular) Sun 29-May-11 00:36:26
Print Post

Re: PuppyLinux and Java


[re: bsanotrun] [link to this post]
 
In reply to a post by bsanotrun:
I have put Puppy Wary5 linux on an old win98 PC works great but i cant get Java installed
i have got this far, but still not working

downloaded jre-6u25-linux-i586.bin and saved it to usr/local/bin
made executable, then with rox run ./jre-6u25-linux-i586.bin
it unpacked and run but i did not get a licence agreement to agree to ? but it did put a folder named jre in the bin folder with what seems to be the java elements listed below inside.

then made a simlink in usr/lib/mozilla plugins
ln -s /usr/local/bin/jrel.6.0.25/plugin/i386/ns7/libjavaplugin_oji.so./libjavaplugin_ojf.so

this simlink seems to be wrong, as if i look in its permissions it says
error: no such file or directory

also from searching how to do this some guides say the simlink should be in the seamonkey/plugin folder some say the mozilla/plugin folder which is correct

Thanks for any help


I'm not sure why you saved the .bin file there, it is just an installer, so putting into **/bin is pointless.

Run the file as root/admin (sudo/su) to see if that helps. That symlink looks funny, but it might just be the way you've pasted it.

Anway that .so file is a dynamic library for usage with a browser (browser Java plugin, for instance for the TBB speed tester). That isn't the JRE stuff you're after if I understand correctly, so I think you're probably not getting _all_ of the files you need.

So please clarify when you say Java not working... What happens when you do:

Text
1
which java



Also, please try to use the packages that you can get through your distribution's repositories if possible because it'll install everything in the "right" place for you.
Standard User john2007
(legend) Sun 29-May-11 09:41:05
Print Post

Re: PuppyLinux and Java


[re: bsanotrun] [link to this post]
 
Any particular reason for using Puppy?

Distributions like Debian and Ubuntu will probably be better tailored to installing Java automatically from their repositories.


Register (or login) on our website and you will not see this ad.

Standard User BatBoy
(legend) Sun 29-May-11 10:14:49
Print Post

Re: PuppyLinux and Java


[re: bsanotrun] [link to this post]
 
Package installation:

place the file at /mnt/home
then, either follow the instructions at: Menu > System > BootManager
or, follow the instructions at: Menu > Setup > SFS-Load




______________________________________________________________________________attack_the_post_not_the_poster__________________
Standard User burakkucat
(member) Sun 29-May-11 12:51:47
Print Post

Re: PuppyLinux and Java


[re: bsanotrun] [link to this post]
 
For the Firefox (or other Mozilla based) browser plugin, you will need to create a symlink from the libnpjp2.so file, if I remember correctly.

So, as you have things set-up --

cd /usr/lib/mozilla/plugins
ln -s /usr/local/bin/jre1.6.0_25/lib/i386/libnpjp2.so


If you have Firefox currently open, close it and then re-open it. Insert about:plugins in the address bar and then check for the Java plugin.

-----------------------------------------------------

100% Linux and, previously, Unix.
Standard User bsanotrun
(regular) Sun 29-May-11 22:50:36
Print Post

Re: PuppyLinux and Java


[re: burakkucat] [link to this post]
 
In reply to a post by burakkucat:
For the Firefox (or other Mozilla based) browser plugin, you will need to create a symlink from the libnpjp2.so file, if I remember correctly.

So, as you have things set-up --

cd /usr/lib/mozilla/plugins
ln -s /usr/local/bin/jre1.6.0_25/lib/i386/libnpjp2.so


If you have Firefox currently open, close it and then re-open it. Insert about:plugins in the address bar and then check for the Java plugin.


Sorted now after i RTFM on the Java web site
Burakkucat, was correct simlink should have been
ln -s /usr/local/bin/jre1.6.0_25/lib/i386/libnpjp2.so

to answer the other questions
Puppy because itís small and light not many destros will work on a 450Mhz cpu and 192Mb ram laptop,certainly not Ubuntu.

Java or openjdk/icedtea are not in the puppy repositories,so it was just as easy (in the end) to install sun java.



Thanks for all the replies
Standard User burakkucat
(member) Sun 29-May-11 23:15:46
Print Post

Re: PuppyLinux and Java


[re: bsanotrun] [link to this post]
 
Happy to have helped! wink

-----------------------------------------------------

100% Linux and, previously, Unix.
Standard User john2007
(legend) Sun 29-May-11 23:40:48
Print Post

Re: PuppyLinux and Java


[re: bsanotrun] [link to this post]
 
Re size. Debian works fine on my 120MHz Pentium with 48MB of memory. I just don't use it with a graphical desktop frontend such as Gnome or KDE.
Standard User bsanotrun
(regular) Mon 30-May-11 00:02:39
Print Post

Re: PuppyLinux and Java


[re: john2007] [link to this post]
 
In reply to a post by john2007:
Re size. Debian works fine on my 120MHz Pentium with 48MB of memory. I just don't use it with a graphical desktop frontend such as Gnome or KDE.


And it runs a browser and web pages that require Java and flash ok ?
(that is a genuine question not a flippest remark)
Standard User john2007
(legend) Mon 30-May-11 08:02:57
Print Post

Re: PuppyLinux and Java


[re: bsanotrun] [link to this post]
 
If those were to run OK under PuppyLinux on my old laptop they'd also run OK under Debian.

Personally I've never tried running Flash on a 120MHz Pentium, not even sure if that architecture is supported. I did run the Gnome Desktop once. It was rather slow so I tend to use BlackBox for a windowing environment on that machine.
Pages in this thread: 1 | 2 | (show all)   Print Thread

Jump to