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 22 Feb 2017, 06:46
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Fatdog64 and Java runtimes
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
PappyPuppy

Joined: 30 Sep 2016
Posts: 80

PostPosted: Thu 05 Jan 2017, 16:00    Post subject:  Fatdog64 and Java runtimes
Subject description: Browsers sometimes need Java installed
 

When I get directed to a page to install the Java runtimes, I notice that Fatdo64 is not one of the Linux flavors listed - it's stuff like Redhat, various Ubuntus, etc..

Any suggestions, how I should install the Java runtimes?
Back to top
View user's profile Send private message 
april


Joined: 14 Sep 2013
Posts: 887
Location: Burning up on the Great Barrier Reef (Mostly Dead or Dying(me too))

PostPosted: Thu 12 Jan 2017, 03:26    Post subject:  

No answers so this might spice it up for you .
I'm hopeless at fatdog but normally in Precise I get the java ".sfs" file and download it . Then i load it on the fly when I need it with the sfs on the fly loader .

Perhaps you can work out from that how to get fatdog to do that?
Back to top
View user's profile Send private message Yahoo Messenger 
drunkjedi


Joined: 24 May 2015
Posts: 602

PostPosted: Thu 12 Jan 2017, 03:57    Post subject:  

In Fatdog630 and 700 the Java sfs is available, new one for 710 is not made yet.
Although I see eclipse java sfs but I don't know much about that.
You can try Java sfs from 700 in 710.
Get it from here http://distro.ibiblio.org/fatdog/sfs/700/

There are 2 JDK and JRE sfs. I believe you will need JRE (java runtime environment) one.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 2987
Location: The Blue Marble

PostPosted: Thu 12 Jan 2017, 05:32    Post subject:  

@drunkjedi - we don't package Java SFS anymore in the repo, because Java is often updated and you usually want to use the latest version --- so Fatdog gives you the facility to do exactly that.

Howto:
1. Open terminal.
2. Run "getjava.sh"
3. It will run and attempt to fetch the latest version of Java JDK, and make a Java SFS out of it, located in /root. You can then use the SFS just like any other SFS (move it elsewhere, load it, etc).

cheers!

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 602

PostPosted: Thu 12 Jan 2017, 05:41    Post subject:  

Thanks for reply Jamesbond,

Yes I forgot about getjava script.
Haven't used java lately.

The script is in Fatdog Controlcenter too I believe.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 80

PostPosted: Thu 12 Jan 2017, 11:21    Post subject: I am running the getjava.sh script now
Subject description: It keeps going backwards build 40, 39, 38, ...
 

It's back to 18 and still going. I wonder what that all means?

Ok, it stopped at Build 14, and it's downloading the tar stuff now (for 8u11)

I only need the Java runtimes for one website I go to.

It stopped and said that it can't remove /tmp/getjava/work.22211 No such file or directory.

Not sure if I need to look inside that script and see what needs to still run or not.

The /tmp/getjava directory is empty so perhaps that's ok.

I went into the SFS Manager, and when I click on a Java thing, it started downloading it. I guess I'll do the same to the JDK java file under SFS Manager and see what happens after those two downloads.

I guess it's now loaded successfully, I clicked ok and it said "loaded successfully".
So presumably I should be able to browse with that java plugin working now. I'll try it out.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 80

PostPosted: Thu 12 Jan 2017, 12:08    Post subject: It's a shame
Subject description: It still says, "Download Java Runtime" when I go to that one site I use
 

I was able to get the website to work on Vista (probably SP2 Vista) and also on Windows 10.

Apparently, the website does not understand that I've just installed Java or perhaps my browser doesn't have scripting enabled. I'll have to trouble shoot this problem.
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 602

PostPosted: Thu 12 Jan 2017, 12:11    Post subject:  

The script makes sfs file in /root folder, not in sfs manager.
You need to load that sfs.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 80

PostPosted: Thu 12 Jan 2017, 12:17    Post subject: SUCCCESS WITH SEAMONKEY AS BROWSER
Subject description: The Java runtime control is working in SeaMonkey
 

I was using Google's Chrome to navigate to that records site I need Java to run on. So far no go with Google Chrome so I fired up SeaMonkey as the browswer.

And lo and behold, with SeaMonkey, it detected the Java - it complained that my Java was out of date, but I decided to just use the Java I had installed which is probably NOT out of date, and it allowed my to click on the Activate Java button, then a bunch of stuff loaded up and the control is now working so I can see the documents. It's a commercial application image viewer applet that is now running on Seamonkey. I'll have to look into how to make it work with Chrome also. For now, at least I don't have to go to another machine, I can use my Fatdog64 to view the site's images.

So problems mostly solved, thanks!

I have not yet loaded up the JDK - I will do that some time in the future - for now, I just needed the runtimes.
Back to top
View user's profile Send private message 
PappyPuppy

Joined: 30 Sep 2016
Posts: 80

PostPosted: Thu 12 Jan 2017, 12:20    Post subject: I may have just used the SFS manager for simplicity
Subject description: rather than the script. As long as it works, either way seems fine.
 

I now see that the java sfs for the runtime:
java_jre-8.25.sfs
is sitting in the appropriate directory where all of my sfs files and my savefile reside so all seems normal. I also have the compiler and the kernel source sfs files there and loaded. So today, I can start compiling C++ programs with gcc compiler. I had been wanting to set that up. I have to make a big decision since my gcc is only version 2.8. One application I'm working on might need version 4.5 or so. I forget why. Ok I remember. It's because the application is moving up to C11's new language specification. So I will either 1) have to try newer compilers or 2) Set up a new machine with Ubuntu or something. So I'll just have to research this - perhaps there's a way I can make the old compiler comply somehow - perhaps turn off language features or whatever. It sounds a little complicated but not impossible problme.
I just checked the gnu site - they are up to 6.3 or so. I am way behind.

So I will need version 4.8 or better in order to have C11 support.

Ugh - I might have to build a .sfs package. I haven't tried this yet. So I will need to download gcc 4.8 or better, and try it out I guess.

drunkjedi wrote:
The script makes sfs file in /root folder, not in sfs manager.
You need to load that sfs.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.0792s ][ Queries: 11 (0.0097s) ][ GZIP on ]