Results 1 to 3 of 3

Thread: Setting Java PATH

  1. #1
    Junior Member registered user
    Join Date
    Jun 2004
    Location
    New Zealand
    Posts
    14

    Setting Java PATH

    I am using Knoppix 3.8.1 and it is bundled with Java 1.4.2. I do not know how to uninstall Java 1.4 and since I need the new features of Java 1.5, I decided to install Java 1.5 over it (some of you may think its not a very good idea).

    Now, when I run a java -version at the command prompt, it still says 1.4.2. So I explicitly exported the PATH of my new Java 1.5

    "export PATH=/home/java1_5/bin"

    After that "java -version" replies with 1.5, which is correct. However when I restart the shell, the PATH seems to be reset to its original state and won't recognize my Java 1.5!
    Please help!

  2. #2
    Member registered user
    Join Date
    Jun 2004
    Posts
    83
    Prepend your PATH variable with that directory in your .bashrc file.

  3. #3
    Member registered user
    Join Date
    Jun 2003
    Posts
    68
    Redo your symlink in /usr/bin to point to your copy of the java.

Similar Threads

  1. Replies: 1
    Last Post: 07-07-2007, 10:45 PM
  2. Installing jdk 1.5 and setting path
    By A. Jorge Garcia in forum General Support
    Replies: 7
    Last Post: 09-05-2005, 06:40 PM
  3. path environment
    By roustabout in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-25-2005, 12:54 PM
  4. Path to programs
    By hesa666 in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 05-22-2005, 06:38 PM
  5. adding path
    By roustabout in forum General Support
    Replies: 5
    Last Post: 05-07-2005, 03:05 AM

Posting Permissions

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


IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD. picture

IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD.

$629.99



Lot of 2 IBM blade center Type H chassis 8852 picture

Lot of 2 IBM blade center Type H chassis 8852

$559.00



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$200.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$149.99



IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS picture

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS

$80.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$108.92



IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU picture

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU

$999.99



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM System S822 Dual Socket Server Motherboard W/Cage FRU P/N: 74Y4343 Tested picture

IBM System S822 Dual Socket Server Motherboard W/Cage FRU P/N: 74Y4343 Tested

$499.99



Ibm Computer Tower picture

Ibm Computer Tower

$400.00