LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 02-16-2004, 04:36 PM   #1
Dominik
Member
 
Registered: Nov 2003
Distribution: slackware9.1/freebsd5.2
Posts: 53

Rep: Reputation: 15
Unhappy java jdk1.4.2 & free: installation performed but javac doesn't run


Hi,

I'm trying to install the linux-jdk1.4.2 on free 4.9 through the ports collection.

So I downloaded jdk-1.4.2_03-linux.i586.bin, jdk-1.4.2.src-scsl.zip, bsd-jdk-14-patches-6.tar.gz and the updated ports.tar.gz.

I unzipped ports.tar.gz in /usr create a /usr/ports/distfiles with the three jdk files unzipped inside. Went in /usr/ports/java/linux-sun14 et ran
make install.

The installation is performed in less than 1 minutes.

when i run ./usr/.../javac i get the message :

*****
HotSpot Virtual Machine Error, Internal Error

Heap at VM Abort:Heap
****

I tried a make clean, make install but with no distfiles...I got exactly the same installation verbose screen and ./javac error.

So, i think I'm wrong with the ports collection, but have no idea why.

Any suggestions will be very appreciated, thanks.
 
Old 02-18-2004, 03:19 AM   #2
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
I hear you buddy, I have the exact same problem. Everything is in its place, but I get that same VM error message.
 
Old 02-18-2004, 03:27 AM   #3
Dominik
Member
 
Registered: Nov 2003
Distribution: slackware9.1/freebsd5.2
Posts: 53

Original Poster
Rep: Reputation: 15
Talking



Hello,

I found the answer on a russian forum, someone kindly translates it.

So in the Makefile there's a line :

¦ ${CPIO} -pmdu ...

where CPIO has no definition.

So you have to add

CPIO = /usr/bin/cpio

and it'll work fine.
 
Old 02-18-2004, 03:42 AM   #4
Dominik
Member
 
Registered: Nov 2003
Distribution: slackware9.1/freebsd5.2
Posts: 53

Original Poster
Rep: Reputation: 15
Sorry,

i missunderstood your problem.

So I had this at my first installation, when i removed the current /usr/ports
and decompressed the latest ports.tar.gz in /usr/.

I had success when I reinstalled the cd's ports.tgz and updated the /usr/ports/java/linux-sun-jdk14/* as follows:

download the updated Makefile & others for _03 and repalced them.

You'll find them at

http://www.freebsd.org/cgi/cvsweb.cg...inux-sun-jdk14

Then you will want to make the add in the Makefile

Hope it will work for you too.

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java - Halting a Program until an action is performed. logosys Programming 11 10-07-2005 03:17 PM
I can't run javac crazyzombie Linux - Software 2 09-23-2005 01:50 PM
How do I configure 'javac' and Using Java on Linux akosombo Linux - General 7 03-13-2005 08:26 AM
use gcc or javac for java compile? jordanGSU Programming 22 10-15-2004 09:12 AM
JAVA Jdk1.3????? oulevon Programming 0 03-04-2001 06:47 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 11:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration