File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fedora 4 and JDK install

 
Nicholas Carrier
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, very helpfull
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic