openJDK7 build fails on 64bit cblfs linux

luxInteg lux-integ at btconnect.com
Sun Apr 17 22:04:35 UTC 2011


On Sunday 17 April 2011 14:39:59 luxInteg wrote:
> On Sunday 17 April 2011 12:15:56 luxInteg wrote:
> > On Sunday 17 April 2011 06:50:42 David Holmes wrote:
> > 
> > --------------
> > I then fumbled around   and seem  to have goot lucky
> > -the build miraclously ended like so:-
> > 
> > ########################################################################
> > ##### Leaving jdk for target(s) sanity all docs images             #####
> > ########################################################################
> > ##### Build time 00:13:55 jdk for target(s) sanity all docs images #####
> > ########################################################################
> > 
> > -- Build times ----------
> > Target all_product_build
> > Start 2011-04-17 12:30:03
> > End   2011-04-17 12:48:17
> > 00:02:25 corba
> > 00:00:31 jaxp
> > 00:00:33 jaxws
> > 00:13:55 jdk
> > 00:00:50 langtools
> > 00:18:14 TOTAL
> > -------------------------
> > 
> > * the fumbling involved:-
> > -- linking ~/X11/include   to /usr/include/X11
> > -- linking /usr/bin/cpio   to /bin/cpio
> > 
> > -----
> > 
> > could you or others on list suggest   how to  test the build and install
> > it please?
> 
> I checked the  openjdk/Makefile    for  test and installed options I found
> these a) test,  b) test_run but no install  so  I have to following
> questions:-
> 
> 1) does make test_run AND/OR  make check  suffices for testing the build ?
> 2) On a successful build does copying like so
> cd build/linux-amd64/j2sdk-image
> cp -vR bin include jre lib man demo /path/to/wherever
> 
> constitutes the required installation?  And if so are there any special
> permissions  to be set on any of the destination files and if so what are
> these?

as an uPDATE
I did the above   then tried to run ant  and this is what happens:-

ant -v 

There was an error trying to initialize the HPI library.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

#--------- an ls of ~/jre/bin shows there is no jvm

root [ /opt/openJDK/jre/bin ]# ls -l
total 244
-rwxr-xr-x 1 root root   6832 Apr 17 22:40 java
-rwxr-xr-x 1 root root   7023 Apr 17 22:40 keytool
-rwxr-xr-x 1 root root   7215 Apr 17 22:40 orbd
-rwxr-xr-x 1 root root   7055 Apr 17 22:40 pack200
-rwxr-xr-x 1 root root   7071 Apr 17 22:40 policytool
-rwxr-xr-x 1 root root   7023 Apr 17 22:40 rmid
-rwxr-xr-x 1 root root   7023 Apr 17 22:40 rmiregistry
-rwxr-xr-x 1 root root   7039 Apr 17 22:40 servertool
-rwxr-xr-x 1 root root   7247 Apr 17 22:40 tnameserv
-rwxr-xr-x 1 root root 170103 Apr 17 22:40 unpack200
root [ /opt/openJDK/jre/bin ]


advice on remedies would be appreciated



> advice will be appreciated.
> 
> > And thanks to   all for help so far
> > 
> > sincerely luxInteg



More information about the build-dev mailing list