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 Wed 20 Aug 2014, 18:45
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Java 1.5.0_4 Installer
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Thu 04 Aug 2005, 01:17    Post subject:  Java 1.5.0_4 Installer  

Java 1.5.0_4 Installer

this should download and install Java 1.5.0_4
to the folder you choose

note:
this will download a 17 meg file
Java requires about 100 megs of hard drive space to install
Java will use 84 megs of hard drive space

the Java installer will be an icon in my-roxapps
drag the icon to the desktop if you want a shortcut
click the icon to run the installer
delete the icon to uninstall the installer

edit: attachment removed

Last edited by GuestToo on Wed 30 Aug 2006, 22:56; edited 1 time in total
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 05 Aug 2005, 00:46    Post subject:  

Nice G2 Wink

You have added a directory option to install to . . .

How should Aunt Maude know where to install java? I was not sure. It is not a program - so just put it somewhere Smile

Other programs this might be a good thing.
I still do not know the difference between a rox-app and my-applications.

If Aunt Maude {generic non computer literate user] needs to know something about an OS - then it is already too complex.

What about "Create a desktop icon" and before that a check and possible run of the pup001 resizer?

Personally I feel java is VERY important

Who knows a page of java programs?
Remember java programs can be run from Windows, Puppy and Mac and from any browser.

eg
create a CD cover
http://lobby4linux.com/modules/wfsection/article.php?articleid=15

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Fri 05 Aug 2005, 02:32    Post subject: Great Work  

Well, there are two sides of the story as lobster has mentioned!
For the non-user this would be an ob-stac-le
I personally like your previous version that was automatic!!
But take into account for aunt maude or whoever,
But great job from my point of view!!!

_________________
Heaven is on the way, until then let's get the truth out!
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4365
Location: Southeast Georgia, USA

PostPosted: Sat 27 Aug 2005, 23:42    Post subject: Re: Java 1.5.0_4 Installer  

GuestToo wrote:
Java 1.5.0_4 Installer


Anyone else finding that Java cometimes misbehaves?

It is saying that System cache is not configured but when I look at Temporary Files Settings it is set to Unlimited and when I look at View Applets there is a ton of stuff I never ran in there, including 673KB of drawpoker-ob-comp.jar-573edco..., and Enable Caching is checked.

Java fails when I try to use it to run the Thingamablog aplet thingamablog.jar and I cannot see what I might tweak to fix it.

It works OK when viewing Java-required Web pages via Mozilla, not sure why it might misbehave running a local Java app..

Should I reinstall Java perhaps?

Ideas, please? Thanks! doc

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 28 Aug 2005, 00:44    Post subject:  

what happens when you type
java -jar thingamablog.jar in rxvt? what error messages do you get?
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4762
Location: Manila

PostPosted: Sun 28 Aug 2005, 01:42    Post subject: 128 MB flash  

Companies using java will be interested to use Puppy if it will fit a small enough flash drive. say, open office + java = 256 MB, which I suppose is possible in this installation?
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sun 28 Aug 2005, 03:10    Post subject:  

Puppy, Java and Open Office will fit in 256 meg

What is the situation with Flash (which is part of Mozilla)? That can be placed in hardware without licensing problems? There is a smaller version of Java (I think called jifi) but frankly developers would probably prefer the full version. I believe efforts to get Puppy into hardware - yes there are embedded Linuxes - anyone know about them? - is worthwhile.

Eventually I would expect the Bios and OS to be combined. Once an OS is something expected and shipped with a motherboard, a lot of the time wasters from Redmond will be redundant . . . Bless!

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4365
Location: Southeast Georgia, USA

PostPosted: Sun 28 Aug 2005, 16:19    Post subject:  

GuestToo wrote:
what happens when you type
java -jar thingamablog.jar in rxvt? what error messages do you get?


Works fine that way! Wink

# java -jar thingamablog.jar
Starting Thingamablog 1.0.2...

Target OS = Linux
OS Version = 2.4.29
OS Architecture = i386
Java Version = 1.5.0_04-b05
Aug 28, 2005 7:45:32 PM net.sf.thingamablog.App main
INFO: Thingamablog 1.0.2 OS: Linux JRE: 1.5.0_04-b05
Aug 28, 2005 7:45:44 PM net.sf.thingamablog.App main
INFO: Init time: 12096ms

Connecting to database...
Connected.
LOADING DATA
DONE LOADING DATA
Database shutdown

doc

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
paulj
Guest


PostPosted: Wed 28 Sep 2005, 13:30    Post subject: error java.lang.NoClassDefFoundError  

Hi Guys

I've installed jre1.5.0_04 but every time I run a .jar file it gives a java.lang.No ClassDefFound Error can't run java class files either am I missing something?
Do I need to add or adjust something?
I did a google but didnt seem to get very far,
Thanks in advance for your help

Paul
Back to top
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Wed 28 Sep 2005, 14:35    Post subject:  

to run a java program (a .jar file) you need to setup the PATH and JAVA_HOME variables ... my installer does this, but it may not work with Puppy 1.0.5 ... i haven't tried 1.0.5 yet

there should be something like this in /etc/profile:
Code:
export JAVA_HOME=/root/jre1.5.0_04
export PATH=$PATH:$JAVA_HOME/bin


(with the correct path to your Java files, of course)

then get Puppy to read /etc/profile ... rebooting is the easiest way

if you are running 1.0.5 or newer, it would be better to put those lines in /etc/profile.local (create the file if it doesn't exist) ... because Puppy should not overwrite /etc/profile.local when it upgrades ... 1.0.4 and earlier versions of Puppy do not use /etc/profile.local)

of course, this is a problem with all versions of Puppy ... when Puppy upgrades, it overwrites /etc/profile, which usually disables Java ... i thought of maybe a wrapper script for the Java executable, which would fix /etc/profile every time it runs ... but it didn't do it that way
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4762
Location: Manila

PostPosted: Thu 29 Sep 2005, 04:15    Post subject: Question  

How will this fit with what you're trying to do, PaulJ?

EDIT: Great plans below, as Barry described. All for under 100 MB !!!

Last edited by raffy on Thu 29 Sep 2005, 08:26; edited 1 time in total
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Thu 29 Sep 2005, 05:48    Post subject: Re: 128 MB flash  

raffy wrote:
Companies using java will be interested to use Puppy if it will fit a small enough flash drive. say, open office + java = 256 MB, which I suppose is possible in this installation?


raffy,
Yes, as Lobster responded, it will work in 256M ram.

I have just now created the 1.0.5 Chubby Puppy, that I will
upload soon. The iso file is only 91.4M.
If we added John Murga's Java package at 6M, that gives us
about 98M, and that will run very happily in a 256M PC.
Probably even the full Java from Sun would be fine.

I do need to create the OO packages again though, as I
made some installation choices based on no Java.
Will probably also upgrade to OO version 2.
...which will be bigger.

But I reckon we can aim for a OO + Java live-CD at under 100M. A thin-PC with 256M ram will handle that.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
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.0848s ][ Queries: 12 (0.0124s) ][ GZIP on ]