QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

What Java virtual machine (JVM) do I use to run the AspectJ compiler?

AspectJ Frequently Asked Questions
Use the latest, greatest, fastest JVM you can get your hands on for your platform. The compiler's performance is dependent on the performance of the JVM it is running on, so the faster a JVM you can find to run it on, the shorter your compile times will be. At a minimum you need to use a Java 2 or later JVM to run the compiler (J2SE 1.3 for AspectJ 1.1). We realize that this constraint can be a problem for users who don't currently have a Java 2 JVM available.

How can I uninstall the Microsoft Java Virtual Machine (JVM) from Windows XP?

The Broadband Reports Windows XP FAQ - dslreports.com
You might want to remove the Microsoft JVM, which Microsoft no longer supports, in favor of the more recent Sun Microsystems JVM. To remove the Microsoft JVM, perform the following steps: The HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\JAVA_VM registry subkey (to remove the Microsoft Internet Explorer (IE) options When Internet Explorer 7 is installed on Windows XP, ctfmon.exe runs in the background without purpose, and when the Run entry for ctfmon.

Do I have to use the AspectJ compiler?

AspectJ Frequently Asked Questions
The AspectJ compiler or weaver is required at some point, but many people can use AspectJ without changing their build or deployment process significantly. For aspects that are not required to compile, you can use the AspectJ binary weaver, run at build-time or class-load-time. You can write aspects using the original code style (which must be compiled with the AspectJ compiler) or using the annotation style new in AspectJ 5 (which may be compiled with Javac or the AspectJ compiler).

Can I use AspectJ with Generic Java?

AspectJ Frequently Asked Questions
But at this time, unfortunately not. The two compilers are just not at all compatible. In an ideal world, there would be a wonderful Open Source extensible compiler framework for Java that both GJ and AspectJ would be built on top of, and they would seamlessly interoperate along with all other extensions to Java that you might be interested in, but that's not the case (yet?).

Is a virtual machine all that's needed to run a small application?

J2ME CLDC and K virtual machine: Frequently Asked Questions
No. A virtual machine requires a set of core libraries to run applications. Some of these libraries are packaged as a part of a CLDC implementation along with the virtual machine. In addition, the capabilities of CLDC can be extended by adding profiles such as the Mobile Information Device Profile (MIDP) and/or optional packages.

Can applications that run on CLDC-compliant virtual machines run on other Java Virtual Machines?

J2ME CLDC and K virtual machine: Frequently Asked Questions
Yes. CLDC-based applications can execute in other Java Virtual Machines, provided that the required CLDC libraries, profiles, and/or optional packages are also available.

Why your own virtual machine? Why not compile to JVM/.NET?

docs/faq.pod
Those VMs are designed for statically typed languages. That's fine, since Java, C#, and lots of other languages are statically typed. Perl isn't. For a variety of reasons, it means that Perl would run more slowly there than on an interpreter geared towards dynamic languages. The .NET VM didn't even exist when we started development, or at least we didn't know about it when we were working on the design. We do now, though it's still not suitable. Sure we will. They're just not our first target.

I noticed the AspectJ compiler doesn't use a parser generator. Why is that?

AspectJ Frequently Asked Questions
In AspectJ 1.0, the PARSER for ajc is written by hand. This choice was made with full awareness of the generator tools out there. (Jim had for example used the excellent javacc tool for building the parser for JPython (now Jython)). One of the reasons that AspectJ uses a hand-written parser is that using javacc taught Jim about the LL-k design for parsers (pioneered by antlr). As opposed to the state-machine parsers produced by yacc, these parsers are very readable and writable by humans.

Which Java virtual machine do I need to run D2K?

ALG: D2K FAQs
J2SE 1.3 or later is required. We have not tested extensively with the latest 1.5 JVM. So we packaged a 1.4.x JVM with the latest installer of D2K 4.1.1.

Why do I need a Java virtual machine to run J-DSP?

www.needs.org: A Digital Library For Engineering Education
J-DSP is a set of Java applets that require a Java virtual machine to run properly. Before launching J-DSP, the courseware will provide you with the opportunity to link to Sun to download the latest Java virtual machine at http://java.com/en/index.jsp (Windows-only). If you are a Mac user you can download a current Java virtual machine directly from Apple at http://docs.info.apple.com/article.html?artnum=120209.

Q6) Where would I find a Java Virtual Machine to run on an IVC Display?

Knowledge Base
A6) NSIcom CrEme JVM will work. Follow the Software Application Installation Application Note. This may require additional program memory. If so, from the download page, download and install the NP-612S 20M Program Memory Image. Follow the Windows CE Download Instructions.

How do I write bugs for the AspectJ compiler?

AspectJ Frequently Asked Questions
The best compiler bug report is a reproducible test case, standalone code that demonstrates the problem. Sometimes with aspects, a test case requires several files, if not some way to capture the behavior. Here's how we recommend submitting test cases: Write the test case so that when the compiler bug is fixed, the test completes normally without output (e.g., expected compiler errors are issued, or classes produced run correctly). This usually means writing one or more source files.

How do I download the Microsoft Java Virtual Module (JVM)?

Dynamic Works Institute - FAQs
Microsoft (because of a court battle with Sun Microsystems) no longer offers the base installer for the Microsoft Java Virtual Machine (JVM). If you have no version of the Microsoft JVM installed and need one in order to run ToolBook's DHTML, you can download and install the JVM using this link: Click here to download Microsoft VM I use Windows XP. When I try to load Tier 2 and 3 courses, all the course material is garbled and loading at the same time.

Are there any issues using AspectJ with the Microsoft JVM?

AspectJ Frequently Asked Questions
Since AspectJ requires Java 2 or later, it will not run on the Microsoft JVM, which does not support Java 2. No. Some previous versions of AspectJ had this requirement. In AspectJ 1.0, javac can still be used as ajc back end by using the -usejavac flag. You can also run ajc in preprocessor mode to generate Java source (.java) files to be compiled using javac or another java compiler. Neither option is supported in AspectJ 1.1.

Can I use Protégé with the Microsoft Java Virtual Machine?

Protégé FAQ
No. Protégé requires a JDK 1.4 compatible virtual machine (Protégé 3.1 requires JDK 1.4 , Protégé 3.2 beta requires JDK 1.5). The last we are aware of, the MSJVM only supports JDK 1.1. Microsoft also plans to terminate support for the MSJVM on September 30, 2004.

How can I use ajc to compile programs for a JVM that is different from the one used to run it?

AspectJ Frequently Asked Questions
ajc can be used to develop programs that are targeted at the Java 1.1 platform, even though the ajc compiler won't run on that platform. Here's an example of using ajc in this sort of cross-compilation mode (assuming a Windows platform with all the default installation directories): ajc -target 1.1 -bootclasspath c:\jdk1.1.7\lib\classes.zip \ -classpath c:\aspectj1.0\lib\aspectjrt.jar -extdirs "" \ -argfile jdk11system.lst This same technique can be used if you want to run ajc on a JDK 1.

How do I increase the memory for the Java Virtual Machine?

SQL Developer - FAQ
Usually the default memory configuration of your VM should be sufficient to work with SQL Developer. If you want to increase the available memoy anyway you will have to start the application with additional command line options. If you use a Sun Microsystem Java VM open a shell window, change to the SQL Developer folder and type java -Xmx256m -jar sqldeveloper.jar to start with a maximum heap memory of 256 MB. The default maximum heap size is 64 MB.

Can AspectJ work with any Java program?

AspectJ Frequently Asked Questions
The AspectJ tools run on any Java 2 Platform compatible platform. The AspectJ compiler produces classes that run on any Java 1.1 (or later) compatible platform.

Will AspectJ support Java 5?

AspectJ Frequently Asked Questions
AspectJ is a registered trademark of Palo Alto Research Center, Incorporated (PARC), used with permission. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact