Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Aug 2018, 11:08
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Script to install Java Runtime Environment
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Author Message
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Sun 26 Apr 2009, 20:35    Post subject:  

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 Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ttuuxxx


Joined: 05 May 2007
Posts: 11193
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 26 Apr 2009, 21:10    Post subject:  

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 Smile
Back to top
View user's profile Send private message Visit poster's website 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Wed 29 Apr 2009, 02:31    Post subject:  

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:
"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 Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Wed 29 Apr 2009, 02:59    Post subject:  

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!
Back to top
View user's profile Send private message 
spongedaddy


Joined: 02 Jun 2009
Posts: 46
Location: Winter Park, FL

PostPosted: Sun 26 Jul 2009, 23:50    Post subject:  

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.
Back to top
View user's profile Send private message Visit poster's website 
playdayz


Joined: 25 Apr 2008
Posts: 3794

PostPosted: Tue 28 Jul 2009, 22:49    Post subject: Installing Java - It's not that hard
Subject description: A script is not needed
 

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:
./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.
Back to top
View user's profile Send private message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Wed 29 Jul 2009, 07:23    Post subject:  

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 Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1417s ][ Queries: 14 (0.0190s) ][ GZIP on ]