Cannot get Java working

Hello everyone, I am trying to install Java JRE 1.3 (also tried 1.4) to work with my Linux 8.0 (fresh install). Having no prior knowledge of Linux I followed the instructions provided by Sun website step-by-step. Basically I did not get any ...




Topic Options
#675 - 11/29/02 02:19 AM Cannot get Java working
qshakoor Offline
stranger

Registered: 11/20/02
Posts: 5
Hello everyone,

I am trying to install Java JRE 1.3 (also tried 1.4) to work with my Linux 8.0 (fresh install). Having no prior knowledge of Linux I followed the instructions provided by Sun website step-by-step. Basically I did not get any error message during install but when I type java -version, I get error message stating cannot find the Command file. I see the /usr/java folder and in there there is a j2re-1_3_1_06/bin folder that has a java file. Is there a step missing? Do I need to set any environments?

Appreciate your response.

Asim

Top
Advertisement
#677 - 11/29/02 03:09 AM Re: Cannot get Java working
punkisdead Offline
member

Registered: 08/08/02
Posts: 118
make sure that the /usr/java folder is in your path. At the command prompt type

export PATH=$PATH:/usr/java/bin

If that works then you need to add that to either your .bashrc or /etc/profile file.

Top
#678 - 11/29/02 08:09 AM Re: Cannot get Java working
qshakoor Offline
stranger

Registered: 11/20/02
Posts: 5
punkisdead,

What is the difference b/w putting it in .bashrc or /etc/profile?

Appreciate your help.

Asim

Top
#679 - 11/29/02 12:09 PM Re: Cannot get Java working
punkisdead Offline
member

Registered: 08/08/02
Posts: 118
If you put it in /etc/profile every user on that system will have that path then, and if you put it in your .bashrc just that user is affected.

Top
#1903 - 06/01/03 10:17 AM Re: Cannot get Java working
Tekchip Offline
journeyman

Registered: 06/01/03
Posts: 84
Are you just trying to install it so you can view web based java animations/games? Trying hitting up the netscape web site and the plugins section. There's a web installable .xpi that should get you going with out that script hacking.

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
USB Devices Not Recognized!
by shumailh
Today at 02:31 PM
LinkSys Router: Internet Access Issue
by Myke
01/05/10 10:48 PM
BSOD: IRQL_not_less_or_equ
al

by baharkhafan
01/04/10 07:35 PM
8 Bit Palleted Textures
by Pookie_Lestat
01/04/10 04:50 PM
Carmageddon 2 weird
by Kuikie
12/29/09 04:32 PM
Who's Online
2 Registered (Myke, Philipp), 218 Guests and 46 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91463 Members
24 Forums
59627 Topics
190173 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22