• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Fedora 4 and JDK install

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you, very helpfull
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic