0

I'm trying to install this Python library (works with Java) and the read me file says to tell it the path to my JDK installation.

Any ideas how I would find this? What is it asking for, a directory?

I tried which java but that just said /user/bin/java. I don't think that's what it wants.

I also tried > sudo find / iname="*jdk*" but that seemed to just list 1000s of directories for some reason.

I'm on Fedora release 14 (Laughlin)

Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84
Greg_the_Ant
  • 489
  • 7
  • 26

2 Answers2

1

Install the java-1.6.0-openjdk-devel package.

Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84
1

It's a Fedora installation, so you can try rpm -qa | grep jdk to get an idea of which java package is installed. You should see a java-x.x.x-openjdk and hopefully, a java-x.x.x-openjdk-devel package. If so, your java environment will probably be in /usr/lib/jvm/java/.

ewwhite
  • 197,159
  • 92
  • 443
  • 809
  • The alternatives subsystem, used by the distro's Java packages, put the relevant executables in `/usr/bin`. – Ignacio Vazquez-Abrams May 09 '11 at 14:58
  • Well, is his app/library looking for the executable or the environment directory? Sometimes, I encounter applications that require environment variables to be defined like: `export JAVA_PATH=/usr/lib/jvm/java/bin` – ewwhite May 09 '11 at 15:02