Article View: comp.lang.java.machine
Article #3Re: hi i am new to java i have a compiling problem
From: Roger Lindsj|
Date: Wed, 26 Jul 2000 00:00
Date: Wed, 26 Jul 2000 00:00
29 lines
2135 bytes
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๏ฟฝ
Technical Details
Message-ID:
<8ln9ni$gn3$1@nyheter.chalmers.se>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<397E1668.341C71D6@planet.net.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10bb9b,8369344f3513260 X-Google-Attributes: gid10bb9b,public X-Google-Thread: 10d6db,8369344f3513260 X-Google-Attributes: gid10d6db,public X-Google-Thread: 10a146,8369344f3513260 X-Google-Attributes: gid10a146,public From: d97roli@dtek.chalmers.se (Roger Lindsj|) Subject: Re: hi i am new to java i have a compiling problem Date: 2000/07/26 Message-ID: <8ln9ni$gn3$1@nyheter.chalmers.se> X-Deja-AN: 651073841 References: <397E1668.341C71D6@planet.net.au> X-Complaints-To: abuse@chalmers.se X-Trace: nyheter.chalmers.se 964635186 17123 129.16.30.88 (26 Jul 2000 18:13:06 GMT) Organization: Chalmers University of Technology NNTP-Posting-Date: 26 Jul 2000 18:13:06 GMT Newsgroups: comp.lang.java.machine,aus.computers.java,comp.lang.java.programmer