Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Build failed when configuring sailfin

 
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have downloaded sailfin-installer-v1-b60g-windows.jar and tried to configure it by following the instructions given in the url "https://sailfin.dev.java.net/downloads/instructions.html"; . I am getting the foolowing error during the configuration:


C:\Documents and Settings\peopleTech\Desktop\sailfin>lib\ant\bin\ant -f setup.xm
l
Buildfile: setup.xml

get.java.home:

setup.init:

tools.init.windows:

tools.init.solaris:

tools.init.solaris-sparc:

tools.init.solaris-x86:

tools.init.linux:

tools.init.darwin:

check-osforbuildjarinstaller:

check-installer-compatibility:

installer-message:

all:

get.java.home:

setup.init:

check-java:

get.java.home:

setup.init:

validate-java:
[echo] Current Java Version 1.6.0_03

BUILD FAILED
C:\Documents and Settings\peopleTech\Desktop\sailfin\setup.xml:161: The followin
g error occurred while executing this line:
C:\Documents and Settings\peopleTech\Desktop\sailfin\setup.xml:141: The followin
g error occurred while executing this line:
C:\Documents and Settings\peopleTech\Desktop\sailfin\setup.xml:137: Please set j
ava.home to a JDK installation

Total time: 1 second



Please help me to solve this issue.

Thanks
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like you have JRE on your system but not JDK. Setup is looking for tools.jar file but it is not finding and failing there.

Can you install JDK 1.5 or 1.6 on your system and try again? Point java_home to this JDK.

Regards,
Naman
 
naman mehta
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you still find problem send mail to

users@sailfin.dev.java.net

Regards,
Naman
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for your reply.I have installed java jdk1.6.0_03 and also jre1.6.0_03 in the path C:\Program Files\Java and tools .jar is in the path C:\Program Files\Java\jdk1.6.0_03\lib and I have mentioned the path in


PATH as C:\Program Files\Java\jdk1.6.0_03\bin;



and JAVA_HOME as


C:\Program Files\Java\jdk1.6.0_03;C:\Program Files\Java\jdk1.6.0_03\lib\tools.jar



But I am facing that error

 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAVA_HOME should be a single directory like "C:\Program Files\Java\jdk1.6.0_03", and nothing else.
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks ulf,

I have corrected the JAVA_HOME path and can able to build sailfin.
 
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!