Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Concierge » Concierge Target Compatibility
Concierge Target Compatibility [message #1732808] Fri, 20 May 2016 11:22 Go to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2603
Registered: July 2012
Senior Member
Hi,

I'm trying to run Concierge on an embedded device with an alternative VM that only supports Java 6.

When trying to start the application I get the following exception:

java.lang.NoClassDefFoundError: java.nio.charset.StandardCharsets

in one of the Concierge classes.

Looking into the org.eclipse.concierge bundle I can see that it is intended to be even compatible with Java 5. From the Gradle build files I can see that the intention is to build with

targetCompatibility = 1.5

So I wonder why java.nio.charsets.StandardCharsets is found in the Concierge compilation. Any ideas on that?
Re: Concierge Target Compatibility [message #1732814 is a reply to message #1732808] Fri, 20 May 2016 12:03 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2603
Registered: July 2012
Senior Member
For your information, I tracked the issue down to Concierge.doMain()

You are using StandarCharset.UTF-8 there. This was introduced with Java 7. After I changed my settings in Eclipse to use Java 6 and enabled the corresponding compliance I immediately got compile errors at these positions.
Previous Topic:Welcome to eclipse.concierge
Next Topic:Unable to run Eclipse Concierge
Goto Forum:
  


Current Time: Sun Jun 24 03:49:35 GMT 2018

Powered by FUDForum. Page generated in 0.01805 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top