aspose file tools*
The moose likes Beginning Java and the fly likes Fedora 4 and JDK install Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Fedora 4 and JDK install" Watch "Fedora 4 and JDK install" New topic
Author

Fedora 4 and JDK install

Nicholas Carrier
Ranch Hand

Joined: Apr 14, 2005
Posts: 78
I installed the JDK on my linux system and I was able to add the bin files to my path location. However, I still can't view web sites with applets (do I have to install the JRE as well) and I can't double click jar files (windows only)? Any help would be great, thanks.


Teaching yourself anything is always the cheapest way, but it definitely takes a lot of time and effort.<br /> <br />Thank you javaranch <a href="http://"http://faq.javaranch.com/view?HowToAskQuestionsOnJavaRanch"" target="_blank" rel="nofollow">Learn How to Ask Your Question</a> and be nice
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
Hi there.

First, its great to hear you chose Fedora - as a fellow fedora usee i say hooray!

Now there are a few things you need to do to make it work correctly.
First make sure that when you type "which java" in the shell it says the right directory. (if not you will compile and run stuff with the default gcj compiler and not the java you installed).

Now for applets to work in the browser(i assume u use firefox) type the following:


make sure you change in the above line to the correct java version you use(check the path) and to the correct firefox/mozilla version (again check the path).

Basically you create a soft link in the plugins directory to point to the correct java version.
Also, this is a great link for all sorts of fedora questions (got this java solution as well):
here

To run jars by clicking do the following:
right-click on the .jar file, choose Properties, choose Open With, click Add, click Use a custom command, and type in xterm -e java -jar

Good luck.
Nicholas Carrier
Ranch Hand

Joined: Apr 14, 2005
Posts: 78
Thank you, very helpfull
 
 
subject: Fedora 4 and JDK install