Find the answer to your Linux question:
Results 1 to 2 of 2
I installed Java using .bin file. The folder i installed is JDK(/usr/lib/jdk1.6.0_29) and JRE(/usr/lib/jre1.6.0_29). I googled to set classpath but that things didn't work for me. Can any one suggest ...
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    1

    Smile Setting Class Path for Java in Fedora

    I installed Java using .bin file. The folder i installed is JDK(/usr/lib/jdk1.6.0_29) and JRE(/usr/lib/jre1.6.0_29). I googled to set classpath but that things didn't work for me. Can any one suggest me commands using the folders that i mentioned above, to set classpath to execute a sample java program.


    Thanks in advance.............

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    Take a look at the 'alternatives' tool - this should allow you to configure the 'in use' java versions for your system. You may need to install it through your package manager - and I'm sure I've seen one GUI tool for it somewhere in there too.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...