I installed fastdebug build of JDK 6 (Linux x64 version, since there is no Ubuntu specific build) in /usr/lib/jvm directory, manually set during installation process. Installation completed successfully (at least such a message was showed at the end). Now I have /usr/lib/jvm/jdk.1.6.0_25/fastdebug/bin folder.

I ran this command to install (if it matters):

sudo java -jar jdk-6u25-ea-bin-b03-linux-amd64-debug-27_feb_2011.jar

When I run:

sudo update-alternatives --config java

I see all my JVMs (open jdk, sun, etc.) but there is no fastdebug build in the list to choose. I also ran the following:

sudo update-java-alternatives --jre -s jdk1.6.0_25

But it says:

"directory does not exist: /usr/lib/jvm/jdk.1.6.0_25"

Why so? The directory does exist! how to add this jdk to the list? I have the same problem with IBM's jdk. I also can't add it to the alternatives to select for the same reason ("directory does not exist..."). What did I do wrong?

PS. according to the information on the site, all files are made in fastdebug/bin and fastdebug/jre/bin directories executable using chmod command.

link|improve this question
@Gigili: thaks for editing, but there is no Ubuntu 11.10 specific download, there is general linux version... so I do not understand your edit at this place... – Maxym Feb 11 at 22:48
That's what you said: " I use Ubuntu 11.10" – Gigili Feb 11 at 22:50
Anyway, you can rollback the edit if you disagree. – Gigili Feb 11 at 23:03
guys, is it a problem without solution?? – Maxym Feb 13 at 10:40
feedback

2 Answers

look for jdk 1.6.0_25 ... that's the required development kit. then install it 'em not sure but try here http://srcweb.net/key/jdk-1-6-0_25-free-download

link|improve this answer
feedback

try to but all the files and the directories in the root directory "jdk.1.6..." not in the fastdebug. i guess Ubuntu looks in "jdk*/jre" and so on, not in "jdk*/anything else/jre"

link|improve this answer
and the "directory does not exist" error doesn't mean that really the directory not exist like i said before it looks for the java binaries in the folder not the folder it self but with some default schema. – Fathy Mar 3 at 6:48
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.