NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 70 - Fresh Fiji clone does not build with no external Java installed
Fresh Fiji clone does not build with no external Java installed
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Linux
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2009-08-05 19:54 CDT by Stephan Saalfeld
Modified: 2009-09-29 12:47 CDT
1 user (show)

See Also:

Description Stephan Saalfeld 2009-08-05 19:54:16 CDT
A freshly cloned Fiji repository including the corresponding java submodule will not build missing javac.  Build.sh should be able to launch javac from the java submodule if present.
Comment 1 Johannes Schindelin 2009-09-01 12:01:42 CDT
I cannot reproduce.  You have to (maliciously) remove precompiled/javac.jar if you want the Build to fail.  And yes, I have tested a fresh clone recently, and it worked just fine.
Comment 2 Stephan Saalfeld 2009-09-01 12:52:12 CDT
I experienced this on a freshly installed Ubuntu linux-amd64 with no alternative Java installation (such as sun-java or alike).  Did you do the same?
If yes---I am happy to ear that the bug is solved.  I do not have that virgin installation any more to check it.
Comment 3 Johannes Schindelin 2009-09-10 15:32:46 CDT
This should be fixed (I just set up a nightly build).
Comment 4 Dan White 2009-09-18 10:09:07 CDT
if its any help.... i has a similar experience. 
On lips6 computer, with a fresh-ish ubuntu x64, i just cloned fiji and tried to build it, 
but it complained fo there being no java. So installed the open java package, 
then it worked. 

maybe this has nothing to so with anything....
does Fiji clone bring its own working java? i thought not?

Dan

Comment 5 Johannes Schindelin 2009-09-18 10:35:15 CDT
Fiji brings its own JDK, but as a submodule that you have to check out.  But your response gave me an idea: Teach Build.sh to check out the submodule if no Java was found! I will try to implement that ASAP.
Comment 6 Johannes Schindelin 2009-09-29 12:47:28 CDT
Okay, as soon as possible is something different, but at least I implemented it: See http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=fiji.git;a=commitdiff;h=de3d2e6e2e2815cbd5c7a293f8cab4ce40e03289;hb=refs/heads/master