Script to install Java Runtime Environment

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#16 Post by ecomoney »

Actually add it to puppy itself to download and install? Pretty easy...but a link via the install program would be easier to maintain (wouldnt be hard-burnt into cd's).

Have you seen this idea for an installer that would load via petget Ttuxx? Interested to know what you think.

http://www.murga-linux.com/puppy/viewtopic.php?t=41674
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#17 Post by ttuuxxx »

ecomoney wrote:Actually add it to puppy itself to download and install? Pretty easy...but a link via the install program would be easier to maintain (wouldnt be hard-burnt into cd's).

Have you seen this idea for an installer that would load via petget Ttuxx? Interested to know what you think.

http://www.murga-linux.com/puppy/viewtopic.php?t=41674
Well thats a double download, the size of the script is great and could be added, how I see it is basically the same model with some changes, when you click on it, it downloads a java.txt file from a server in the background, maybe a message popup 'Please wait getting the latest versions download location",maybe the repo or puppylinux.ca where I could update it at ca. This java.txt file would have the latest location for the download, that way it would be just a click and not a actual download install with petget, then find the script, then install. also puppy could remove Flash from the default release saving over 2MB compressed, and have a flash section, older release which we could have at the repo and latest version, where 1 click will download the Java.txt script and would have the flash info and java all in one.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#18 Post by ecomoney »

If seamonkey detected JAVA was needed (or wanted) on a page and ran the script automaticly to install it in puppy it would be even better.

Code: Select all

"This page requires the java plugin for some of its functions to work fully. Do you want to install this now? (Y/N)"
, possibly with a tickbox to say "dont ask me again"...I know a lot of people dont like having java installed because of security, or want to be bugged to install it all the time.

[/code]
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#19 Post by DaveS »

ttuuxxx wrote: I think they should include this little updated installer puppy, How easy if it was located root, couple of clicks and boom its installed.
ttuuxxx
I was kinda hoping something like this could happen. Please dont forget that Java is not JUST a browsing issue. Open Office also needs it if it is to be fully functional.
Spup Frugal HD and USB
Root forever!

User avatar
spongedaddy
Posts: 46
Joined: Wed 03 Jun 2009, 01:47
Location: Winter Park, FL
Contact:

#20 Post by spongedaddy »

My newbie $0.02:

Just installed MU's JRE 1.5.0_08 from the wiki and used dotpuphandler to install it (despite the "officially discouraged" line).

I checked my favorite Java-using beach cam, and everything is A-OK.

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

Installing Java - It's not that hard

#21 Post by playdayz »

Java always seemed mysterious and frustrating to me, but no longer, probably because I have made so many mistakes at it. I just installed it without any script, pet, or sfs and if I can do it, then anyone can do it.

1. Download java from java.com. I prefer to download it to /mnt/home to conserve my ram.

2. When it is downloaded open a Rox window and go to the place where you downloaded Java. First, Right-Click the java file and then choose Permissions and Yes to make the file executable. Second, Right-Click -> Window -> Terminal Here.

3. In the terminal enter

Code: Select all

./jre-6u14-linux-i586.bin
( or whatever the name of the java file is). Don't forget the "./" to begin. You will need to scroll down to accept the license agreement and then the install program will create a folder named "jre1.6.0_14' or something like that.

4. Take that folder and put it in /usr/lib or in /usr or in /opt, etc. I am not sure there is a best place for it. I actually leave it right there in /mnt/home.

5. Open the folder jre1.6.0_14/plugin/ i386/ns7/ and drag the libjavaplugin.oji to either /usr/lib/mozilla/plugins or /root/.mozilla/plugins and choose Link (relative). This will enable java for Seamonkey and Firefox. To check, open Seamonkey 1.1.x and then Help -> About Plugins to see java there. In Firefox, Click Tools -> Addons -> Plugins and see a java plugin there. Go to java.com and click Do I Have Java?

6. If you want to use java in OpenOffice, then start OpenOffice and click Tools -> Options -> Java -> Add and then navigate to open the jre1.6.0_14 folder and click Select. It will show you that it recognizes Sun Java and then ask you to restart.

Java in Opera. Open Opera and click Tools -> Preferences -> Advanced -> Content. Make sure Enable Java is checked and click Java Options. Click Choose to find the path jre1.6.0_14/lib/i386. Select that and click Validate Java Path.

Enjoy Java, and be ready and able to do it yourself.

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#22 Post by ecomoney »

Thank you Playdayz for the step by step instructions, they will be very useful for people creating puplets that include Java. One of the things that is great about linux is that its possible for experts/enthusiasts to get their hands dirty under the hood and do jobs like this themselves, and many people enjoy doing this (including myself!). The majority of computer users in the world are not yet "linux-literate" however, most of them barely computer literate!

As a "newbie friendly", distro an automated installer would go a long way to re-assure/convince Windows refugees early on that linux was able to fulfill their computing needs....after which their knowledge would grow to be able to undertake operations like the one described above manually.

Many of the refugees I look after tell me that many things (such as the facebook chat) do not work with standard puppy linux (they are unaware as yet this requires java). Perhaps an automated installer could also inform the user what was required (java), and offer the option of installing it manually.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

Post Reply