Re: [rvm-research] Build Successful but classloader error when runing ./rvm

David P Grove <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <OF7516E390.DDEF715F-ON85257E03.00649C78-85257E03.00650758@us.ibm.com>

Chathuri Gunawardhana <[email protected]> wrote on 03/09/2015
02:16:12 PM:
>
> I was able to build jikes RVM source in ubuntu environment. But when
> I try to run a Hellow World I got the following error. Can you please
help me?
>
> Exception in thread "MainThread"
> java.lang.UnsupportedClassVersionError: unsupported class file version
51.0


Hi,

	version 51.0 is Java7.  Jikes RVM currently believes it only supports
classfiles up to Java6 (version 50.0).

If you can recompile your program and specify Java6 classfiles as the
target, that is probably the safest.

If not, you could try whacking the switch statement in ClassFileReader in
the readConstantPool method to accept version 51.0 and see what happens.
For many programs, it may work.

--dave

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.