0
The title says everything else for itself. I've tried to execute this .j file for hours now. As far as I understood it contains java byte-code, which can be executed by the Oracle Java Virtual Machine. But I can't find out how to call the Java Virtual Machine from the command line, or what I actually have to do.
I tried to call:
jvm imul.j
This didn't work.
The text editor can't see what the .j file actually contains.
P.S. I only used Linux a couple of times in my life.
Type in a terminal the command
file imul.j
: try also to run it usingjava imul.j
; and install Linux on your laptop to learn it. – Basile Starynkevitch – 2013-11-02T17:32:45.993Neither of those worked, i looked into file and it doesnt have any main method so java imul.j will fail. file imul.j give this error: imul.j: Zip archive data, at least v1.0 to extract – None – 2013-11-02T17:38:32.067
1The command
file
did tell (it is not an error!) you what is your file. So now,unzip
it! – Basile Starynkevitch – 2013-11-02T17:39:47.323a bit stupid uestion, but how do i do it? unzip imul.j? – None – 2013-11-02T17:42:27.210
Yes, try
unzip imul.j
in a terminal – Basile Starynkevitch – 2013-11-02T17:44:20.173Archive: imul.j End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of imul.j or imul.j.zip, and cannot find imul.j.ZIP, period. – None – 2013-11-02T17:46:06.177