LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-15-2004, 09:56 AM   #1
jenze76
LQ Newbie
 
Registered: Aug 2004
Distribution: RedHat 7.3
Posts: 2

Rep: Reputation: 0
Installing JAVA SDK 1.3 on RedHat7.3


Hi@all;

I need to get Java SDK (must be 1.2 or 1.3 (i385)) installed on RedHat7.3 using KDE. After unpacking the *.bin file to hard-disk I am not able to execute java or javac within the bin-directory. Linux tells me it cannot find both files although java.sh and javac.sh are in there. This also happens when I download the current version 1.4 (or whatever version) at sun microsystems.

Does anyone know what I am doing wrong here?

Thank you very much for your attention;

Jens Brandt

_____________
AMD Duron 1GHz
MSI-6380
256 MB RAM
ATI Rage128
10GB HD
 
Old 08-15-2004, 10:11 AM   #2
ctux
Member
 
Registered: Jul 2004
Location: Catalunya (Pa´sos Catalans)
Distribution: Fedora Core 3
Posts: 50

Rep: Reputation: 15
java.sh and javac.sh ? May be i say a stupid thing but... i would rename for java and javac without ".sh"

If it doesn't works are you shure that this files are in a bin directory that the linux searchs for a command?
examples of directories of linux that searchs:
/bin
/usr/bin
/usr/local/bin

example directories that (to me) linux doesn't search:
/usr/local/java/bin

You can create a link from /usr/bin/java to /usr/local/java/bin/java (if it is the directory you have installed it) and the same for javac.


p.s: Anyone knows How to change that (make a directory that linux search for a command) ?
 
Old 08-15-2004, 10:31 AM   #3
jenze76
LQ Newbie
 
Registered: Aug 2004
Distribution: RedHat 7.3
Posts: 2

Original Poster
Rep: Reputation: 0
Hi again,

java.sh and javac.sh are in

usr/local/java1.3/bin/

To me it is also seems to be kind of strange I have shell-files instead of real executable files in there. How come I don't get the right files every time I try to install this? There is a netbeens&java bundel at sun microsystem (but i586 and I need i386). When I install it everything is just fine. The story is I have an old installation routine for installing jUSB on i386. Without having i386 that one returnes me an error.
This is why I went back to installing an older linux version recommended by the IBM-developer. But on my 7.3 destribution there was no SDK included when installing it.

Anyone have an idea?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Several questions: In short Java SDK, Dual Boot with XP and Installing Nvidia Drivers cuscus1986 Linux - Newbie 4 01-08-2005 03:50 PM
Installing Java SDK 1.4.2_05 hevykevy7 Linux - Software 4 09-11-2004 04:39 AM
JAVA:problem in installing ECLIPSE SDk on LINUX nedian123 Programming 1 06-26-2004 09:37 PM
Java SDK Peleus Linux - Newbie 2 04-06-2004 08:31 AM
Installing Java SDK 1.4.2 grrr........... hadding Linux - Newbie 1 11-09-2003 07:25 AM


All times are GMT -5. The time now is 08:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration