On Mon, 30 Dec 1996, Joey Hess wrote:

> I've got the following java packages installed:
> 
> ii  jdk-common      1.0.2-2        JDK (Java Development Kit)
> ii  jdk-static      1.0.2-2        JDK (Java Development Kit) - Static part
> 
> Whenever I try to run any of the java stuff, like appletviewer, javac,
> etc, I get this error:
> 
> [EMAIL PROTECTED] ~/prog/old/java>javac DragItem.java 
> java was not found in /usr/lib/jdk/i586/bin/java
> [EMAIL PROTECTED] ~/prog/old/java/DragDrop>ls /usr/lib/jdk/i586/bin/
> java-jdk*  java_g*    javah*     javap*

        no javac?

> How can I fix this?

dpkg --purge jdk-common jdk-static
and 'dpkg -i' them again.

If it does not fix your problem,
have a look into /etc/alternative:
you should have a link from /etc/alternative/java to /usr/bin/java-jdk.
If not, create it.
Also /usr/lib/jdk/i586/bin/ should be a symbolic link to /usr/bin/.
I can't access my development machine right now, but I think this is a bug.
Will have a look at this tomorrow, and upload a corrected version.

        

NB: Has anyone tried toba or j2c? Both are ".class compilers", that is 
they create an ELF executable from java bytecode (That is you loose 
portability, but improve execution speed by a factor of 5). Anyone 
interested to get this as a package?

        & Happy New Year BTW. _(;

--
-     ** Linux **         +-------------------+             ** WAW **     -
-  [EMAIL PROTECTED]     | RENARDIAS Vincent |          [EMAIL PROTECTED]  -
-  Debian/GNU Linux       +-------------------+      http://www.waw.com/  -
-  http://www.debian.org/           |            WAW  (33) 4 91 81 21 45  -
-                                   |         Luminy  (33) 4 91 82 85 32  -
---------------------------------------------------------------------------


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Reply via email to