-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Error in instalation
PostPosted: Wed Jul 13, 2005 10:16 am 
Newbie

Joined: Wed Jul 13, 2005 10:10 am
Posts: 8
Location: Brasil
when i goin run
It's errors

C:\hibernate-3.0>java -cp "lib/ant-launcher-1.6.3.jar" org.apache.tools.ant.laun
ch.Launcher -lib lib -Ddriver.jar=jdbc/hsqldb.jar
Unable to locate tools.jar. Expected to find it in C:\Arquivos de programas\Java
\jre1.5.0_04\lib\tools.jar
Buildfile: build.xml
[taskdef] Could not load definitions from resource checkstyletask.properties.
It could not be found.
[taskdef] Could not load definitions from resource clovertasks. It could not b
e found.

splash:

init:
[echo] Build Hibernate-3.0 (2005-06-29 11:01:35)
[echo] JDK version: 1.5

init.antlr:

antlr:

compile:
[javac] Compiling 827 source files to C:\hibernate-3.0\build\classes

BUILD FAILED
C:\hibernate-3.0\build.xml:196: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Total time: 6 seconds

C:\hibernate-3.0>


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 13, 2005 10:25 am 
Regular
Regular

Joined: Thu Feb 24, 2005 2:34 pm
Posts: 80
Have you set your JAVA_HOME envoirment? set it and your build will work .

Or ;-)
Here a bad approch but work, open yur build.xml e put this

Code:
<property name="java.home" value="c:\JBuilderX\jdk1.4\"/>    Here your jdk

Bye
Devis


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 13, 2005 10:44 am 
Newbie

Joined: Wed Jul 13, 2005 10:10 am
Posts: 8
Location: Brasil
yes

my JAVA_HOME = "C:\Arquivos de programas\Java\jdk1.5.0_04"


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 14, 2005 8:26 am 
Newbie

Joined: Wed Jul 13, 2005 10:10 am
Posts: 8
Location: Brasil
help me


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 14, 2005 5:22 pm 
Senior
Senior

Joined: Wed Jul 13, 2005 4:31 pm
Posts: 142
Location: Seattle, WA
per the error output, it is looking in a directory JRE_... not JDK...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.