JDK path

Hello,
I have installed the default JDK from Software centre, but when i type whereis JDK on the terminal.. i don't see any path :mad:
i need JDk to install a tool ... Hurry!!! please HELP:confused::confused:

That's because JDK isn't a command. Try which javac

but i need the path where JDK is installed... how do i get that?
using which javac i am getting javac path... not the entire jdk path.. using which jdk i am getting nothing

It should be somewhere in /usr/lib/jvm if I remember correctly. However, most IDEs for Java can auto-detect that pretty well.

1 Like

thx so much dude!

---------- Post updated at 04:37 PM ---------- Previous update was at 03:56 PM ----------

I need glibc version 2.2 - 2.11 for a installation. but i got glibc 2.0-2.1 from software centre... what to do? can u help???:confused::confused::confused: