Re: Building JDK14

2004-01-31 Thread Jeff Elkins
I think it may be a 5.2/JDK 1.4 issue - I installed jdk1.3 and it's working - 
the compile for a native 1.3jdk is running now...

Jeff

On Sunday 01 February 2004 12:45 pm, Jorn Argelo wrote:
> I didn't mount linprocfs when I compiled blackdown-java actually. Also I
> (always) type make all install clean. I don't know if that matters or not
> though.
>
> But other then that I didn't do anything else then you did.
>
> Cheers,
>
> Jorn
>
> - Original Message -
> From: "Jeff Elkins" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 30, 2004 11:33 PM
> Subject: Re: Building JDK14
>
> > On Friday 30 January 2004 12:17 pm, Jorn Argelo wrote:
> > > Well, it's really compiling files now, the previous time it was just 20
> > > hours at the same spot. I guess the blackdown-java version is working
>
> all
>
> > > right then since it's still busy compiling files.
> > >
> > > The javavm -version is giving a good output, so it's working all right
>
> I'd
>
> > > say.
> >
> > Interesting discussion. I obtained all the Sun source and patches and am
> > trying to install jdk14 as well, under 5.2. Thus far:
> >
> > 1. enabled option COMPAT_LINUX for my kernel and rebuilt/installed
>
> rebooted.
>
> > 2. mounted linproc with mount -t linprocfs linprocfs /compat/linux/proc
> > 3. make install clean /usr/ports/linux-blackdown-jdk14/
> >
> > However. when executing
>
> /usr/local/linux-blackdown-jdk1.4.2/bin/java -version
>
> > I get:
> >
> > Error occurred during initialization of VM
> > java/lang/NoClassDefFoundError: java/lang/Object
> >
> > Did I miss a step?
> >
> > Tx,
> >
> > Jeff Elkins
> >
> >
> >
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
>
> "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building JDK14

2004-01-31 Thread Jorn Argelo
I didn't mount linprocfs when I compiled blackdown-java actually. Also I
(always) type make all install clean. I don't know if that matters or not
though.

But other then that I didn't do anything else then you did.

Cheers,

Jorn

- Original Message -
From: "Jeff Elkins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 30, 2004 11:33 PM
Subject: Re: Building JDK14


> On Friday 30 January 2004 12:17 pm, Jorn Argelo wrote:
> > Well, it's really compiling files now, the previous time it was just 20
> > hours at the same spot. I guess the blackdown-java version is working
all
> > right then since it's still busy compiling files.
> >
> > The javavm -version is giving a good output, so it's working all right
I'd
> > say.
>
> Interesting discussion. I obtained all the Sun source and patches and am
> trying to install jdk14 as well, under 5.2. Thus far:
>
> 1. enabled option COMPAT_LINUX for my kernel and rebuilt/installed
rebooted.
> 2. mounted linproc with mount -t linprocfs linprocfs /compat/linux/proc
> 3. make install clean /usr/ports/linux-blackdown-jdk14/
>
> However. when executing
/usr/local/linux-blackdown-jdk1.4.2/bin/java -version
> I get:
>
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object
>
> Did I miss a step?
>
> Tx,
>
> Jeff Elkins
>
>
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building JDK14

2004-01-30 Thread Jeff Elkins
On Friday 30 January 2004 12:17 pm, Jorn Argelo wrote:
> Well, it's really compiling files now, the previous time it was just 20
> hours at the same spot. I guess the blackdown-java version is working all
> right then since it's still busy compiling files.
>
> The javavm -version is giving a good output, so it's working all right I'd
> say.

Interesting discussion. I obtained all the Sun source and patches and am 
trying to install jdk14 as well, under 5.2. Thus far:

1. enabled option COMPAT_LINUX for my kernel and rebuilt/installed rebooted.
2. mounted linproc with mount -t linprocfs linprocfs /compat/linux/proc
3. make install clean /usr/ports/linux-blackdown-jdk14/

However. when executing /usr/local/linux-blackdown-jdk1.4.2/bin/java -version
I get:

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

Did I miss a step?

Tx,

Jeff Elkins




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building JDK14

2004-01-30 Thread Jorn Argelo
Well, it's really compiling files now, the previous time it was just 20 hours 
at the same spot. I guess the blackdown-java version is working all right 
then since it's still busy compiling files.

The javavm -version is giving a good output, so it's working all right I'd 
say.

Thanks for the info.

Jorn.


On Friday 30 January 2004 17:30, you wrote:
> This might be a moot point by now, but you you should also double-check
> to make sure that your non-native java is working before you start to
> build the native version. I don't use blackdown, I use the linux-sun
> flavor, but before building native jdk14, I make sure the other is
> running by typing:
> #/usr/local/linux-sun-jdk1.4.2/bin/java -version
> If I get a satifactory repsponse, then I know it's good, and I proceed.
> (Obviously, I'm guessing that your path will be different since you
> using blackdown)
>
> If I get a "Heap at VM Abort" message, then I know that linux-java isn't
> working, and I should not proceed to build the native jdk14. This
> message has always meant (at least in my circumstances) that I forgot to
> mount linprocfs.
>
> -DW
>
> On Fri, 2004-01-30 at 09:57, Jorn Argelo wrote:
> > It was busy for 20 hours and still not finished. It wasn't hanging
> > though; the java executable was still running. However I stopped it,
> > mounted the mounted procfs and linprocfs now and it's running now again.
> > Hopefully it'll work now.
> >
> > Cheers,
> >
> > Jorn
> >
> > On Friday 30 January 2004 11:58, you wrote:
> > > If I understand correctly your build takes "very long" when the build
> > > of the linux jdk is complete and the linux jdk is used to build the
> > > native jdk.
> > >
> > > The reason for this may be that you did not mount the linux proc fs as
> > > it is printed on the screen when installing the linux jdk. This
> > > happened to me some weeks ago. The build of the native jdk then starts,
> > > but hangs.  Mounting the linux proc fs and restarting the build did
> > > solve the problem.
> > >
> > > Regards, Dominik.
> > >
> > > On Thu, Jan 29, 2004 at 09:40:03PM +0100, Jorn Argelo wrote:
> > > > Hi all,
> > > >
> > > > I'm currently building JDK14 from the ports tree
> > > > (/usr/ports/java/jdk14) on FreeBSD 5.2-RELEASE. Before that I
> > > > compiled blackdown-java from the ports-tree so I could compile the
> > > > native one. However, it's busy for almost four hours now with
> > > > building it. Now my question was, does anybody know how long is this
> > > > going to take?
> > > >
> > > > Thanks,
> > > >
> > > > Jorn
> > > >
> > > > ___
> > > > [EMAIL PROTECTED] mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to
> > > > "[EMAIL PROTECTED]"
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building JDK14

2004-01-30 Thread Duane Winner
This might be a moot point by now, but you you should also double-check
to make sure that your non-native java is working before you start to
build the native version. I don't use blackdown, I use the linux-sun
flavor, but before building native jdk14, I make sure the other is
running by typing:
#/usr/local/linux-sun-jdk1.4.2/bin/java -version
If I get a satifactory repsponse, then I know it's good, and I proceed.
(Obviously, I'm guessing that your path will be different since you
using blackdown)

If I get a "Heap at VM Abort" message, then I know that linux-java isn't
working, and I should not proceed to build the native jdk14. This
message has always meant (at least in my circumstances) that I forgot to
mount linprocfs.

-DW




On Fri, 2004-01-30 at 09:57, Jorn Argelo wrote:
> It was busy for 20 hours and still not finished. It wasn't hanging though; the 
> java executable was still running. However I stopped it, mounted the mounted 
> procfs and linprocfs now and it's running now again. Hopefully it'll work 
> now.
> 
> Cheers,
> 
> Jorn
> 
> On Friday 30 January 2004 11:58, you wrote:
> > If I understand correctly your build takes "very long" when the build
> > of the linux jdk is complete and the linux jdk is used to build the
> > native jdk.
> >
> > The reason for this may be that you did not mount the linux proc fs as
> > it is printed on the screen when installing the linux jdk. This happened
> > to me some weeks ago. The build of the native jdk then starts, but
> > hangs.  Mounting the linux proc fs and restarting the build did solve
> > the problem.
> >
> > Regards, Dominik.
> >
> > On Thu, Jan 29, 2004 at 09:40:03PM +0100, Jorn Argelo wrote:
> > > Hi all,
> > >
> > > I'm currently building JDK14 from the ports tree (/usr/ports/java/jdk14)
> > > on FreeBSD 5.2-RELEASE. Before that I compiled blackdown-java from the
> > > ports-tree so I could compile the native one. However, it's busy for
> > > almost four hours now with building it. Now my question was, does anybody
> > > know how long is this going to take?
> > >
> > > Thanks,
> > >
> > > Jorn
> > >
> > > ___
> > > [EMAIL PROTECTED] mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building JDK14

2004-01-30 Thread Jorn Argelo
It was busy for 20 hours and still not finished. It wasn't hanging though; the 
java executable was still running. However I stopped it, mounted the mounted 
procfs and linprocfs now and it's running now again. Hopefully it'll work 
now.

Cheers,

Jorn

On Friday 30 January 2004 11:58, you wrote:
> If I understand correctly your build takes "very long" when the build
> of the linux jdk is complete and the linux jdk is used to build the
> native jdk.
>
> The reason for this may be that you did not mount the linux proc fs as
> it is printed on the screen when installing the linux jdk. This happened
> to me some weeks ago. The build of the native jdk then starts, but
> hangs.  Mounting the linux proc fs and restarting the build did solve
> the problem.
>
> Regards, Dominik.
>
> On Thu, Jan 29, 2004 at 09:40:03PM +0100, Jorn Argelo wrote:
> > Hi all,
> >
> > I'm currently building JDK14 from the ports tree (/usr/ports/java/jdk14)
> > on FreeBSD 5.2-RELEASE. Before that I compiled blackdown-java from the
> > ports-tree so I could compile the native one. However, it's busy for
> > almost four hours now with building it. Now my question was, does anybody
> > know how long is this going to take?
> >
> > Thanks,
> >
> > Jorn
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building JDK14

2004-01-30 Thread Tuc
> 
> The reason for this may be that you did not mount the linux proc fs as
> it is printed on the screen when installing the linux jdk. This happened
> to me some weeks ago. The build of the native jdk then starts, but
> hangs.  Mounting the linux proc fs and restarting the build did solve
> the problem.
> 
Would that also cause :

===>  Extracting for linux-sun-jdk-1.4.2.03
>> Checksum OK for j2sdk-1_4_2_03-linux-i586.bin.
===>   linux-sun-jdk-1.4.2.03 depends on file: /compat/linux/lib/libc.so.6 - found
/usr/ports/java/linux-sun-jdk14/work/install.sfx: error while loading shared 
libraries: libc.so.6: cannot open shared object file: Error 14
*** Error code 127

Stop in /usr/ports/java/linux-sun-jdk14.
*** Error code 1

Stop in /usr/ports/java/jdk14.



When I already have :

vjofn# df
Filesystem  1K-blocks Used   Avail Capacity  Mounted on
/dev/da0s1a51606239966  434812 8%/
/dev/da0s1f   103214221474  928098 2%/tmp
/dev/da0s1g  62499610 52314072 518557091%/usr
/dev/da0s1e   1032142   716604  23296875%/var
procfs  44   0   100%/proc
linprocfs   44   0   100%/usr/compat/linux/proc


Thanks, Tuc/TTSG Internet Services, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building JDK14

2004-01-30 Thread Dominik Epple
If I understand correctly your build takes "very long" when the build
of the linux jdk is complete and the linux jdk is used to build the
native jdk.

The reason for this may be that you did not mount the linux proc fs as
it is printed on the screen when installing the linux jdk. This happened
to me some weeks ago. The build of the native jdk then starts, but
hangs.  Mounting the linux proc fs and restarting the build did solve
the problem.

Regards, Dominik.

On Thu, Jan 29, 2004 at 09:40:03PM +0100, Jorn Argelo wrote:
> Hi all,
> 
> I'm currently building JDK14 from the ports tree (/usr/ports/java/jdk14) on 
> FreeBSD 5.2-RELEASE. Before that I compiled blackdown-java from the 
> ports-tree so I could compile the native one. However, it's busy for almost 
> four hours now with building it. Now my question was, does anybody know how 
> long is this going to take? 
> 
> Thanks,
> 
> Jorn
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building JDK14

2004-01-29 Thread Duane Winner
That's about right. Give or take several hours, YMMV depending on your
hardware :)

I did jdk14 patch5 a couple of weeks ago and it took over 4 hours on my
laptop (~1GHz).

I'm doing jdk14 patch6 right now at this moment on Dell Precision 420. I
started it about 3 hours ago, and I'm about to go home for the day.
Should be done by my arrival to work for free coffee tomorrow!



On Thu, 2004-01-29 at 15:40, Jorn Argelo wrote:
> Hi all,
> 
> I'm currently building JDK14 from the ports tree (/usr/ports/java/jdk14) on 
> FreeBSD 5.2-RELEASE. Before that I compiled blackdown-java from the 
> ports-tree so I could compile the native one. However, it's busy for almost 
> four hours now with building it. Now my question was, does anybody know how 
> long is this going to take? 
> 
> Thanks,
> 
> Jorn
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Building JDK14

2004-01-29 Thread Jorn Argelo
I've got a Celeron 2.88 GHz with 256 MB PC2700 DDR RAM, 7200 RPM 40 GB disk, 
so my hardware is quite all right :-)

Though I am quite surprised that I can still browse, use GAIM, use XMMS and 
reading my mail all the time without any form of lag. If I got a 100% CPU 
load on my other Windows box then I can hardly do anything anymore. 

Another reason why I love FreeBSD :-)

Cheers,

Jorn

On Thursday 29 January 2004 22:04, you wrote:
> On Thu, Jan 29, 2004 at 09:40:03PM +0100, Jorn Argelo wrote:
> > I'm currently building JDK14 from the ports tree (/usr/ports/java/jdk14)
> > on FreeBSD 5.2-RELEASE. Before that I compiled blackdown-java from the
> > ports-tree so I could compile the native one. However, it's busy for
> > almost four hours now with building it. Now my question was, does anybody
> > know how long is this going to take?
>
> 4 hours isn't unusual.  In fact, 8 or 12 hours wouldn't be unusual
> unless you've got a fast CPU, fast disks and plenty of RAM.  It's a
> pretty big compilation.
>
>   Cheers,
>
>   Matthew

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building JDK14

2004-01-29 Thread Jason Stewart
On 29/01/04 21:40 +0100, Jorn Argelo wrote:
> Hi all,
> 
> I'm currently building JDK14 from the ports tree (/usr/ports/java/jdk14) on 
> FreeBSD 5.2-RELEASE. Before that I compiled blackdown-java from the 
> ports-tree so I could compile the native one. However, it's busy for almost 
> four hours now with building it. Now my question was, does anybody know how 
> long is this going to take? 
> 
Depends on your hardware. Make sure you have enough swap space too! On
my PIII 500mhz it took overnight to build jdk14

Jason
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building JDK14

2004-01-29 Thread Matthew Seaman
On Thu, Jan 29, 2004 at 09:40:03PM +0100, Jorn Argelo wrote:

> I'm currently building JDK14 from the ports tree (/usr/ports/java/jdk14) on 
> FreeBSD 5.2-RELEASE. Before that I compiled blackdown-java from the 
> ports-tree so I could compile the native one. However, it's busy for almost 
> four hours now with building it. Now my question was, does anybody know how 
> long is this going to take? 

4 hours isn't unusual.  In fact, 8 or 12 hours wouldn't be unusual
unless you've got a fast CPU, fast disks and plenty of RAM.  It's a
pretty big compilation.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature