« Return to Thread: issue starting nexus on linux

Re: issue starting nexus on linux

by olivier nouguier :: Rate this Message:

Reply to Author | View in Thread

You should try to use a sun jvm, instead of the default (gcj)

On Mon, Jun 22, 2009 at 10:47 AM, Shazia Bashir <bashir.shazia@...> wrote:
hi,
 
im a new user and really want to start using nexus in mye company.
 
ive downloaded nexus-webapp-1.3.4-bundle. I just tested and successfully started nexus on windows, but when i try to start it on linux, the startup fails, i find this in the logs:
 
STATUS | wrapper  | 2009/06/22 10:31:30 | Launching a JVM...
ERROR  | wrapper  | 2009/06/22 10:31:30 | JVM exited while loading the application.
INFO   | jvm 4    | 2009/06/22 10:31:30 | Exception in thread "main" java.lang.NoSuchMethodError: method java.io.File.toURI was not found.
INFO   | jvm 4    | 2009/06/22 10:31:30 |    at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
INFO   | jvm 4    | 2009/06/22 10:31:30 |    at org.codehaus.plexus.classworlds.launcher.Configurator.addLoadFile(java.io.File) (Unknown Source)
INFO   | jvm 4    | 2009/06/22 10:31:30 |    at org.codehaus.plexus.classworlds.launcher.ConfigurationParser.parse(java.io.InputStream) (Unknown Source)
INFO   | jvm 4    | 2009/06/22 10:31:30 |    at org.codehaus.plexus.classworlds.launcher.Configurator.configure(java.io.InputStream) (Unknown Source)
INFO   | jvm 4    | 2009/06/22 10:31:30 |    at org.codehaus.plexus.classworlds.launcher.Launcher.configure(java.io.InputStream) (Unknown Source)
INFO   | jvm 4    | 2009/06/22 10:31:30 |    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(java.lang.String[]) (Unknown Source)
INFO   | jvm 4    | 2009/06/22 10:31:30 |    at org.codehaus.plexus.classworlds.launcher.Launcher.main(java.lang.String[]) (Unknown Source)
i cant understand what the reason of error is. any help will be very appreciated. thanx.



--
   “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.”

   Sir Charles Anthony Richard Hoare

 « Return to Thread: issue starting nexus on linux