LinuxQuestions.org
Review your favorite Linux distribution.
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 10-09-2012, 04:17 AM   #1
kmalewezi
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
How do I find out where Java is installed


I installed Opendjk Java 7 on Ubuntu 12 BUT I caanot find out where it's installed. I'm looking for the executable.
 
Old 10-09-2012, 04:26 AM   #2
henrycoffin
Member
 
Registered: Dec 2006
Distribution: RHEL Debian
Posts: 42

Rep: Reputation: 15
try

# which java
 
1 members found this post helpful.
Old 10-09-2012, 04:29 AM   #3
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 549
Blog Entries: 5

Rep: Reputation: Disabled
Hi

You can find try out using


#sudo update-java-alternatives - You can find the java path (or) else you can use whereis openjdk ,locate openjdk
 
1 members found this post helpful.
  


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 plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
fedora won't find my installed java anotherpenguin Linux - Newbie 1 07-19-2009 08:52 AM
Updating Java: Can't find where to set Path, Can't find old Java! davidstvz Suse/Novell 2 08-16-2008 03:10 PM
Synaptic Package Manager shows 'java-common' and 'java-gcj-compat' as Installed. swiadek Ubuntu 3 02-12-2006 11:54 AM
can't find java or javac with which command in slack 10.1 but j2re is installed dns21 Slackware 2 02-12-2005 07:51 PM


All times are GMT -5. The time now is 09:44 PM.

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