๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.java.machine
2 messages
2 total messages Started by Craig Dicker Wed, 26 Jul 2000 00:00
hi i am new to java i have a compiling problem
#2
Author: Craig Dicker
Date: Wed, 26 Jul 2000 00:00
9 lines
1313 bytes
hi
i am trying to compile using javac
and every time i am getting a warning message
"Warning: JIT compiler "none" not found.Will use interpreter"
so i can not compile
so can you help please

thanks
Craig dicker
Re: hi i am new to java i have a compiling problem
#3
Author: Roger Lindsj|
Date: Wed, 26 Jul 2000 00:00
29 lines
2135 bytes
In article <397E1668.341C71D6@planet.net.au>,
Craig Dicker  <cdicker@planet.net.au> wrote:
>hi
>i am trying to compile using javac
>and every time i am getting a warning message
>"Warning: JIT compiler "none" not found.Will use interpreter"
>so i can not compile
>so can you help please

This just means that the compiler (javac) will not be compiled to
native code while it is used to compile your code. All clear :)

Usually there are two steps of compilation using java. The first one
is using javac which compiles .java files into java byte code (most
often stored in .class files). Later, when you are trying to run these
bytecodefiles they are almost always compiled to native code using JIT
(Just In Time). In your case you are running the java program javac
and for some reson the JIT is not enabled and the bytecode will be
interpreted. The file your are trying to compile will still be
compiled to bytecode.

You probably have a switch in your javac command saying
-Djava.compiler=none and your JVM is trying to find a JIT compiler
called none which it cant find (hence the warning). If you instead say
java.comiler=NONE it recognizes that you do not want any JIT compiler,
and no warning is issued. If you want to use a JIT just remove the
-Djava.compiler=none

Roger Lindsj๏ฟฝ
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads