Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Concierge » Unable to run Eclipse Concierge
Unable to run Eclipse Concierge [message #1782178] Tue, 20 February 2018 08:10 Go to next message
Annamalai Chockalingam is currently offline Annamalai ChockalingamFriend
Messages: 121
Registered: July 2009
Senior Member
Hi

I am trying to follow this tutorial
https://www.eclipse.org/concierge/documentation.php#basic

I downloaded the eclipse concierge installation and then unzipped it
ran it from command line and go the following error.

Any help would be appreciated.

Regards
Malai

on executing the following lines

D:\concierge-incubation-5.0.0>jav
a -jar framework/org.eclipse.concierge-5.0.0.20151029184259.jar samples/default.
xargs

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String ind
ex out of range: -1
at java.base/java.lang.String.substring(Unknown Source)
at org.eclipse.concierge.Concierge.<init>(Concierge.java:665)
at org.eclipse.concierge.Factory.newFramework(Factory.java:33)
at org.eclipse.concierge.compat.service.XargsFileLauncher.processXargsIn
putStream(XargsFileLauncher.java:79)
at org.eclipse.concierge.compat.service.XargsFileLauncher.processXargsFi
le(XargsFileLauncher.java:70)
at org.eclipse.concierge.Concierge.doMain(Concierge.java:606)
at org.eclipse.concierge.Concierge.main(Concierge.java:525)

D:\concierge-incubation-5.0.0>

Re: Unable to run Eclipse Concierge [message #1782198 is a reply to message #1782178] Tue, 20 February 2018 11:12 Go to previous message
Annamalai Chockalingam is currently offline Annamalai ChockalingamFriend
Messages: 121
Registered: July 2009
Senior Member
I found the problem. I was running this on a machine installed with JDK9.0.4
There is code in Concierge.java at line no 669 that is doing substring on version of java using SystemVariable

If the below code is executed on JDK 1.8 it works. But if installed on JDK9.0 it doesnt.

String property = System
.getProperty("java.specification.version");
System.out.println(property);
System.out.println(Integer.parseInt(property.substring(2)));

attempting to report a bug on eclipse bugzilla. But unable to find the project.

Regards
malai
Previous Topic:Concierge Target Compatibility
Goto Forum:
  


Current Time: Tue Jun 19 11:03:02 GMT 2018

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

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

Back to the top