Questions tagged [jikes]

Jikes is a Java compiler, first released in April 1997 on the IBM and currently open source.

This compiler used to be an open source alternative of at that time non-free Sun's compiler. Jikes is currently hosted in SourceForge. Here is the project page.

13 questions
7
votes
1 answer

Why does javac checkcast arrays twice?

Examining bytecode, I've noticed javac seems to duplicate checkcast instructions when casting to array types. Cast.java: class Cast { void test(Object a) { Object[] b = (Object[]) a; } } javap disassembly of the javac…
Brandon
  • 355
  • 2
  • 7
6
votes
1 answer

What is the Advantage of Jikes RVM

I recently heard of Jikes RVM and i was trying to go though its features what it offers that other virtual machines don't offer and how scalable it is. So, while going though feature list on the website i found an interesting points High…
Bagira
  • 2,149
  • 4
  • 26
  • 55
6
votes
4 answers

"Error: JAVA_HOME is not defined correctly." in building Jikes rvm

When I built the Jikes RVM on Ubuntu, I got this error. Any idea? bin/buildit localhost production ---> Config: production /bin/bash --login -c '/bin/bash --login -c " cd /home/jack/Programs/jikesrvm-3.1.2 && export JAVA_HOME=/opt/jdk1.6.0 && …
JackWM
  • 10,085
  • 22
  • 65
  • 92
3
votes
1 answer

Netbeans Ant build.compiler.emacs

The default ant settings in Netbeans has the property build.compiler.emacs set to true. What does this mean? The ant documentation just says Enable emacs-compatible error messages. I understand emacs is an editor, though I have not used it. What…
shaanyes
  • 51
  • 6
2
votes
3 answers

In Java, how to get the Abstract Syntax Tree from class files?

As we know, we can get the abstract syntax tree from the source codes, using the tool like org.eclipse.jdt.astview But given the compiled class files, how to get the ASTs? Is there any existing tools? Can soot do it? Thanks!
JackWM
  • 10,085
  • 22
  • 65
  • 92
1
vote
2 answers

Is it possible to cache JSP bytecode to avoid recompiles w/ Tomcat?

Is there any way of caching the bytecode for JSP webapps/ In particular, using Tomcat as the Java servlet? I'm getting really fed up of Tomcat taking up all the CPU for 10 minutes while it compiles 4 different webapps every time I restart it.... I'm…
Mahmoud Al-Qudsi
  • 28,357
  • 12
  • 85
  • 125
1
vote
1 answer

Is there any way to let Jikes RVM run Java applications with GUI?

From its website, I read confusing statements. ref: "... Swing and AWT coverage is particularly incomplete. ..." ref: "The Jikes RVM uses the Classpath libraries, and supports features such as AWT and Swing GUI tool kits from it." Anyway, I found…
JackWM
  • 10,085
  • 22
  • 65
  • 92
1
vote
2 answers

source debuggable JVM

I want to learn the internals of JVM. For this purpose I chose Jikes RVM to work with, but the problem is that I am not able to debug the source code as it doesn't support it. My question is that is there some open source JVM which can be debugged…
Pankaj Sejwal
  • 1,605
  • 1
  • 18
  • 27
1
vote
1 answer

Jikes rvm runtime err "Could not find the class java.util.Scanner"

When I used Jikes rvm to run my program "GenRegex.class", jikesrvm-3.1.2/dist/production_x86_64-linux/rvm GenRegex grammars/cfg_nse.g I got the runtime err: Exception in thread "MainThread" java.lang.NoClassDefFoundError: Could not find the…
JackWM
  • 10,085
  • 22
  • 65
  • 92
0
votes
3 answers

Does Liferay require the Jikes compiler?

All Liferay docs seem to suggest that it is necessary to install the Jikes compiler in addition to the JDK. Is this really needed, to do Liferay portlet dev, or can I just suffice with the JDK.
Ankur
  • 50,282
  • 110
  • 242
  • 312
0
votes
3 answers

Array list integer not working

i am trying to make an ArrayList of type integer, but it gives me this error(I am using this compiler called jikes) Code: ArrayList = new ArrayList(); Error: ***Semantic error: using type arguments to access generic types…
-1
votes
1 answer

Jikes RVM as distributed compiler

Can we use Jikes RVM as distributed compiler? Thanks Rahul
-1
votes
1 answer

Java Exception CreateProcess error=87, The parameter is incorrect

I am getting this error while the server tries to generate a jsp file. We are using our very own Application server (proprietary tool). The server will download the files from a region (say QA) on which my application depends on. I know the root…
ahairshi
  • 381
  • 3
  • 18