LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2011, 10:23 AM   #1
Whatif
Member
 
Registered: Nov 2010
Distribution: VectorLinux
Posts: 87

Rep: Reputation: 0
Java installation


I have installed CentOS 5.5 and including the Java Development Package, will I have the jdk ready to use or further setting is needed?

Thanks,
Mike
 
Old 02-04-2011, 11:57 PM   #2
mtdew3q
Member
 
Registered: Mar 2006
Location: upstate NY
Distribution: fedora XFCE 23
Posts: 315

Rep: Reputation: 17
re: Java installation

Hi-

I use my package manager in openSuse once the package is installed to inspect the files in the package. YAST has an option to read the files that were installed and a convenience feature is that the files listed are in boldface when executable. Maybe Centos has a way to look at a list of files once installed? If you used ./configure, make, and make install, then you might be able to read the screen to see where the files were installed. With Java, you should probably use your package manager to install unless you have a reason not to because when you update or want to uninstall it is easier to manage your files.

I fooled around a lot with SWT and a little Hibernate before. I stopped using Java because 1) On deployment, I couldn't get the SWT GUI memory under control and 2) I didn't plan ahead and look at each and every license and choosing carefully not to combine conflicting licenses (making it so I couldn't deploy the finished application) Avoid those two scenarios if you can if they come up by planning ahead carefully.

Good luck,
mtdew3q
 
Old 02-05-2011, 12:05 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Quote:
.. will I have the jdk ready to use or further setting is needed ?
You can check for the working version with the command : 'java -version'.
.. and : 'javac -version'.


The setup : 1) su
2) /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_23/bin/java 2

3) /usr/sbin/alternatives --config java

.
 
  


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
java installation girish.mtech Linux - Software 1 07-26-2007 12:42 PM
java installation girish.mtech Linux - Software 1 07-24-2007 05:01 AM
JAVA JRE installation to view java applet through browser dipenchaudhary Linux - Software 1 01-23-2006 10:20 AM
Java Installation kaplan71 Debian 2 12-30-2005 10:39 AM


All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration