This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes How to install Java_SDK in Linux? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to install Java_SDK in Linux?" Watch "How to install Java_SDK in Linux?" New topic
Author

How to install Java_SDK in Linux?

victor
Greenhorn

Joined: May 24, 2002
Posts: 1
I tried to install SDK for Solaris in Linux but I failed. Could someone help me?
Thank you.


victor
Chris Shepherd
Ranch Hand

Joined: Jun 27, 2000
Posts: 286
Victor, I think they are going to ask you to change your name to follow the JavaRanch rules (first and last name).
Also, this is not the correct forum to be asking that question. A moderator will need to move this post somewhere else. Maybe the general beginners forum...
Better yet, Victor, why don't you try searching the board for other threads about installing java under linux. There are probably alot of them. Try searching the java in general(beginners) forum. That will probably give you enough hits to get started. Just for kicks, I searched the entire site for "linux install". I had over 200 hits before I stopped it.
Its always a good idea to try searching for an answer to your question before you just up and ask it. Saves you time.
If the answer is already here, you've got it immediately and you don't have to wait for someone else to search for it...
and then post a link to it...
and then the board to email you...
and then you come back to see the link...
and follow it to where you could have been in the first place.
Its just simpler to try a search in the first place.
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
"victor"
Please review the JavaRanch Naming Policy then edit your profile so that your publicly displayed name complies with the rules.
Thanks for your cooperation.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
And, just as Chris Shepherd indicated, this would be much better in the Linux/Unix forum. In fact how to install Java on LInux is a fairly commonly asked question over there.
So I've moved this thread to the Linux/Unix forum, please continue the conversation in that forum.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Raghav Mathur
Ranch Hand

Joined: Jan 12, 2001
Posts: 641
/usr/java/jdk1.3.0_02/bin/i386/native_threads/javac: error while shared libiraries: libjiv.so: cannot load shared object file: No such file or directory .
This is the error message i get after installing jdk1.3.0_02 . I've even set the path with the following statement .
PAth= /usr/java/jdk1.3.0_02/bin:$PATH
please suggest .thanks in advance
regards
raghav mathur


Raghav.
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
victor,
In your post you say you're trying to install the SDK for solaris on linux.
Please can you clarify whether you're installing the SDK for linux or solaris ?
(HINT: the Java SDK for Linux should be installed on the Linux OS and the Java SDK for Solaris should be installed on the Solaris OS)
[ June 17, 2002: Message edited by: George Brown ]
Raghav Mathur
Ranch Hand

Joined: Jan 12, 2001
Posts: 641
For whom is this remark for ?
Originally posted by George Brown:
In your first post you say you're trying to install the SDK for solaris on linux.
Please can you clarify whether you're installing the SDK for linux or solaris ?
(HINT: the Java SDK for Linux should be installed on the Linux OS and the Java SDK for Solaris should be installed on the Solaris OS)
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
It was for victor. I've fixed the phrasing, thanks.
[ June 17, 2002: Message edited by: George Brown ]
Raghav Mathur
Ranch Hand

Joined: Jan 12, 2001
Posts: 641
George .
please help me out . have a look at my query . What am i doing wrong and how am i suppose to rectify it ?
regards
raghav mathur
[ June 18, 2002: Message edited by: raghav mathur ]
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
This is the error message i get after installing jdk1.3.0_02 .
So then, you say that you get the message after you install the SDK. Given the title of this thread presumably you're installing the Linux SDK on Linux, right? Did you follow the installation guide?
What is the command you're running when you get this error message, or is it happening right at the end of the installation process ?
What version and distribution of Linux are you installing on?
More information is always better for others to try to get to grips with the problem.
BTW Sun strongly urge developers to upgrade to SDK v1.4.0 (and the version of 1.3 currently available, on the java.sun.com site, with bugfixes, is 1.3.1_03). And the nice thing about v1.4.0 is that Sun include a step-by-step installation guide for Linux installations
[ June 18, 2002: Message edited by: George Brown ]
Raghav Mathur
Ranch Hand

Joined: Jan 12, 2001
Posts: 641
Yes . i 've followed the installation guide . I've installed jdk1.3.0_02 sucesfully . I get this error message when try to run the javac command. I,am using linux 7.1 . Anything else ? . I've also set the path for it which i've mentioned above .
regards
raghav mathur

So then, you say that you get the message after you install the SDK. Given the title of this thread presumably you're installing the Linux SDK on Linux, right? Did you follow the installation guide?
What is the command you're running when you get this error message, or is it happening right at the end of the installation process ?
What version and distribution of Linux are you installing on?
More information is always better for others to try to get to grips with the problem.
[ June 18, 2002: Message edited by: George Brown ][/qb]

[ June 19, 2002: Message edited by: raghav mathur ]
Raghav Mathur
Ranch Hand

Joined: Jan 12, 2001
Posts: 641
waiting for your reply george.
Raghav Mathur
Ranch Hand

Joined: Jan 12, 2001
Posts: 641
i get the same error message when i try to run tomcat .IS there a prob with my path settings ?
please help .
regards
raghav mathur
Raghav Mathur
Ranch Hand

Joined: Jan 12, 2001
Posts: 641
Can anyone help me out
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to install Java_SDK in Linux?
 
Similar Threads
How to kill windows by linux!
what ide can i use for linux?
Installing J2ME tools and SDK on Linux Platform
What is NSIS installer?
linux