Solved

appletviewer JIT?

Posted on 1998-02-23
4
317 Views
Last Modified: 2006-11-17
Does appletviewer support the Just In Time Compiler? If yes, do you still invoke a full immediate compile in the same manner as  a JIT capable browser?
0
Comment
Question by:kevinhol
  • 2
4 Comments
 

Expert Comment

by:kaleemaziz
ID: 1233209
Instead of answering your question here (since you seem to have heard things about JIT), I'd like you to refer Java Unleashed book in the ending chapters. You'll find it faster by searching in the index for 'just-in-time' compilers. If you cannot afford buying or refering Java Unleashed book, you can go through it on-line at http://www.developer.com. A link 'REFERENCE' will take you to 'more than 100 books on-line ...' link. Click here and you'll see several topics, including Java. Click on Java and lo, there you have Java Unleashed text book ready on-line! You can find several books here that will be helpful to you in your career.
Regards.
                                                 Kaleem Aziz.
0
 

Author Comment

by:kevinhol
ID: 1233210
I don't know what the exact definition of an answer here is at Experts Exchange, but I'm pretty sure this doesn't qualify. However, if I was in need of a generic reference to an answer for all my Java inquireries, this copy/paste one would take the cake.
0
 
LVL 1

Accepted Solution

by:
ashishagarwal earned 70 total points
ID: 1233211
Yes, Applet viewer uses the JIT compiler whci comes with Java performance pack. The ways to invoke it are :

you must set the JAVA_COMPILER
environment variable to the value "symcjit". Use the following command
from the DOS prompt:

      set JAVA_COMPILER=symcjit

When the JAVA_COMPILER environment variable is set, the JIT compiler
will be the default compiler invoked by the command-line tools.

An alternative way of invoking the JIT compiler is to set the value of
the java.compiler property to "symcjit". With the javac and
appletviewer tools, you can do this as follows:

      appletviewer -J-Djava.compiler=symcjit MyApplet.html
      javac -J-Djava.compiler=symcjit MyApp.java


0
 

Author Comment

by:kevinhol
ID: 1233212
Thanks I think this answered my question.  However I was under the impression that I could invoke an immediate Just In Time compile from within the source code. If you can quickly answer that one, could you please e-mail at kevinh@natech.com since this Q/A will be close.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now