Official Community Forums
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  The Wiki  Website  github Project  

Share | 

 OpenJDK Doesn't Work With Multiverse

Go down 
Foundation Developer

Posts : 124
Join date : 2011-12-30
Location : Beaverton, OR

PostSubject: OpenJDK Doesn't Work With Multiverse   Fri 20 Apr - 15:54

I tried to run the Multiverse server using OpenJDK on Ubuntu 10.04 because I already had it installed.

It looks like it works and gets as far as starting services, but they die after a few seconds because apparently OpenJDK can't use the JDBC connector properly.

After uninstalling OpenJDK and replacing it with the Sun JDK things run fine. Both version 6 and 7 of the Sun JDK seem to work well, but avoid OpenJDK because it's no good.
Back to top Go down

Posts : 4
Join date : 2012-05-06
Age : 41
Location : Italian in Oz

PostSubject: Re: OpenJDK Doesn't Work With Multiverse   Sun 6 May - 19:19

To make the server (svn head) run on oracle JDK 7, I had to add -XX:-UseSplitVerifier to JAVA_FLAGS;
without it I was getting many exceptions like the following during startup:

Exception in thread "main" java.lang.VerifyError: Expecting a stackmap frame at branch target 11 in method multiverse.msgsys.Message.marshalObject(Lmultiverse/server/network/MVByteBuffer;)V at offset 6
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(
   at multiverse.server.marshalling.MarshallingRuntime.initializeBatch(
   at multiverse.server.util.InitLogAndPid.initLogAndPid(
   at multiverse.server.engine.Engine.main(
Back to top Go down
OpenJDK Doesn't Work With Multiverse
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Getting Started-
Jump to: