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.

6
  • Type in a terminal the command file imul.j: try also to run it using java imul.j; and install Linux on your laptop to learn it. Nov 2, 2013 at 17:32
  • Neither 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
    – Timsen
    Nov 2, 2013 at 17:38
  • 1
    The command file did tell (it is not an error!) you what is your file. So now, unzip it! Nov 2, 2013 at 17:39
  • a bit stupid uestion, but how do i do it? unzip imul.j?
    – Timsen
    Nov 2, 2013 at 17:42
  • Yes, try unzip imul.j in a terminal Nov 2, 2013 at 17:44

0

You must log in to answer this question.