geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianny Damour <gianny.dam...@optusnet.com.au>
Subject Re: NullPointerException at findToolsJarFile
Date Mon, 13 Sep 2004 12:38:18 GMT
On 13/09/2004 9:12 PM, Jacek Laskowski wrote:

> Jacek Laskowski wrote:
>
>> Hi,
>>
>> I've decided to try to run the server with no additional arguments 
>> and here's what I got. Has anyone seen this before? It's a fresh build.
>>
>> /geronimo/modules/assembly/target/geronimo-1.0-SNAPSHOT
>> $ java -jar bin/server.jar
>> 13:03:04,160 WARN  [ToolsJarHack] Could not all find java compiler: 
>> tools.jar file not found at C:\Program Files\Java\j2
>> re1.4.2_05\lib\tools.jar
>> 13:03:04,180 WARN  [ToolsJarHack] Could not all find java compiler: 
>> tools.jar file not found at C:\Program Files\Java\li
>> b\tools.jar
>> java.lang.ExceptionInInitializerError
>> Caused by: java.lang.NullPointerException
>>         at 
>> org.apache.geronimo.system.main.ToolsJarHack.findToolsJarFile(ToolsJarHack.java:97)

>>
>>         at 
>> org.apache.geronimo.system.main.ToolsJarHack.install(ToolsJarHack.java:59) 
>>
>>         at 
>> org.apache.geronimo.system.main.Daemon.<clinit>(Daemon.java:54)
>> Exception in thread "main"
>
>
> In fact, I can't run the server at all, with or without specified 
> configuration :( (I don't have any other way then to sort it out.


This problem may happen if you try to run the server via the standalone 
JRE (C:\Program Files\Java\j2re1.4.2_05\bin\java.exe). You need to run 
it either via the JDK (say, C:\j2sdk1.4.2_05\bin\java.exe) or the JRE 
shipped with the JDK (say, C:\j2sdk1.4.2_05\jre\bin\java.exe)

>
> Jacek
>
Gianny


Mime
View raw message