On Tue, Mar 04, 2003 at 05:18:01PM -0800, Ian Clarke wrote:
> > Argh. Yet Another Fucking Hawk Java Problem. And it's using the exact
> > same JDK as is on my machine...
> 
> That seems unlikely - are you sure it isn't compiling with jikes or 
> whatever?

It doesn't look like it.

[EMAIL PROTECTED]:~$ export
PATH=/usr/local/j2sdk1.4.1_01/bin:/usr/local/bin:/opt/ant/bin:$PATH
[EMAIL PROTECTED]:~$ export
CLASSPATH=/usr/local/j2sdk1.4.1_01/jre/lib/rt.jar:$CLASSPATH
[EMAIL PROTECTED]:~$ export JAVA_HOME=/usr/local/j2sdk1.4.1_01/
[EMAIL PROTECTED]:~$ export
CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot/freenet

[EMAIL PROTECTED]:~/tmp$ which javac
/usr/local/j2sdk1.4.1_01/bin/javac

Then I compile freenet:
[EMAIL PROTECTED]:~/tmp/freenet-stable$ ant clean && ant

And it produces the corrupt file:
[EMAIL PROTECTED]:~/tmp/freenet-stable$ ls -l lib
total 1904
drwxr-sr-x    2 ian      ian          4096 Oct 28 18:16 CVS
-rw-r--r--    1 ian      ian        127205 Oct 20 09:37 freenet-ext.jar
-rw-r--r--    1 ian      ian       1788806 Mar  4 17:28 freenet.jar
-rw-r--r--    1 ian      ian         15117 Sep  4 23:16 junit-gpl.jar

Whereas if I compile it locally, from freshly checked out stable branch,
I get:
total 1865
drwxr-xr-x    2 root     root          152 2002-12-19 17:00 CVS
-rw-r--r--    1 root     root       127205 2002-10-20 17:37
freenet-ext.jar
-rw-r--r--    1 root     root      1774341 2003-03-05 00:37 freenet.jar

Users tell me that the first JAR causes the crash, the second one
doesn't. However java -version tells me that I am using the same java on
both machines.
> 
> Ian.
> 
> -- 
> Ian Clarke                [EMAIL PROTECTED]|locut.us|cematics.com]
> Latest Project                                          http://locut.us/
> Personal Homepage                                 http://locut.us/ian/



-- 
Matthew Toseland
[EMAIL PROTECTED]/[EMAIL PROTECTED]
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at 
http://80-192-4-23.cable.ubr09.na.blueyonder.co.uk:8889/r8qSQrzZG8I/
ICTHUS.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to