[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Add a new module to kernel?



Hi Michael,

I would guess, that binfmt_java is neither compiled in or as module,
because it's considered obsolete.

The entry in the FAQ you quoted is out-dated only applies, if you wont
to execute some Java's class file directly by specifying it on the
command line, like this:

	$ javac somefile.java
	$ chmod a+x somefile.class
	$ ./somefile.class			.

You don't need this module for compiling Java files nor running it using
the Java interpreter, like this

	$ javac somefile.java
	$ java somefile				,

which is the normal method.  This should work just fine on any kernel.

BTW, if you want to be able to use the first method, you need the 
binfmt_misc module, which superseeds binfmt_java.  See binfmt_misc.txt
and java.txt in your linux/Documentation directory.

BTW2, Java 1.1 is rather dated, you can get Java 1.3 from 

	deb ftp://ftp.informatik.hu-berlin.de/pub/Java/Linux/debian \
	woody non-free

if you like.

BTW3, you might want to read up on the Kernel-HOWTO available from
http://www.linuxdoc.org/ , which should clear up your confusion about
kernel modules and the kind.  No offense intended.

Cheers,
Viktor
-- 
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/

Attachment: pgpe60sfMPD_l.pgp
Description: PGP signature


Reply to: