View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-09-2012, 04:17 AM   #1
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
Registered: Dec 2006
Distribution: RHEL Debian
Posts: 42

Rep: Reputation: 15

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

Rep: Reputation: Disabled

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.


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 / openSUSE 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 04:59 PM.

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