On Saturday 04 April 2015 00:52:13 Romain Manni-Bucau wrote: > Hi > > this is fixed https://issues.apache.org/jira/browse/TOMEE-1540 and if I specify JAVA_HOME I get the same exception.
David > > thanks for the report > > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> > | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> > > 2015-04-03 18:51 GMT+02:00 David Goodenough < > > [email protected]>: > > I am trying to run tomee on a debian sid system (amd64) using openjdk-8. > > I am running a snapshot from 20150319. > > > > Running tomee.sh without setting JAVA_HOME I get an error complaining > > that /bin/java does not exist. > > > > So I set JAVA_HOME either to /usr or to /usr/lib/jvm/java-8-openjdk-amd64/ > > I get:- > > > > Exception in thread "main" java.lang.IllegalArgumentException: opt > > contains > > illegal character value '-' > > > > at > > > > org.apache.commons.cli.OptionValidator.validateOption(OptionValidator.java > > :73)> > > at org.apache.commons.cli.Option.<init>(Option.java:123) > > at org.apache.commons.cli.Options.addOption(Options.java:131) > > at org.apache.commons.cli.Options.addOption(Options.java:114) > > at org.apache.openejb.cli.MainImpl.help(MainImpl.java:230) > > at org.apache.openejb.cli.MainImpl.help(MainImpl.java:212) > > at org.apache.openejb.cli.MainImpl.main(MainImpl.java:102) > > at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:106) > > > > Any idea how to fix this? > > > > David
