1.

Is gij the gnu equivalent of javac? I have a HelloWorld.java file which compiles under javac and the resulting class file runs under java. Am I supposed to be able to do

$gij HelloWorld.java

and get HelloWorld.class?

(It gives an error

Exception in thread "main" java.langNoClassDefFoundError: HelloWorld.java)

2.

At one stage in linux you were (supposed to be able to) run the class file directly after loading the binfmt_java module. This module is now the binfmt_misc module. After making executable the class file produced by javac and
with the binfmt_misc module loaded I do

$./HelloWorld.class

and get

-bash: ./HelloWorld.class: cannot execute binary file.

Any ideas?

Thanks Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to