LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-21-2004, 01:07 PM   #1
AstainHellbring
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Java and Slackware-current


ACK!! I am trying to use java with slackware-current and it no work. I try to run the vm under kde on the default kernel and I get a ghost process added that is called java defunct. Help please!!! I want current but can't get java to work for me. THank you
 
Old 10-21-2004, 01:15 PM   #2
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
Well slackware-current is bleeding-edge. Meaning it very well may be unstable, and so your expectations of slackware-current are unreasonable. If you want everything to work, I suggest 10.0, because it's very stable.
 
Old 10-21-2004, 03:44 PM   #3
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,585

Rep: Reputation: 139Reputation: 139
Watch for the right binary of the Java VM. There are versions compiled with different versions of GCC. If some relevant system libs are compiled with a different GCC version, you might not be able to get Java running.

You might want to try the excellent JVM from http://www.blackdown.org.

Another problem is lack of memory. Java won't be fun with less than 256 MB (it works with 64 MB or so, and in fact I used j2sdk-1.4.2_05 on an old Pentium Classic with 40MB, but it's very sluggish, then).

gargamel
 
Old 10-21-2004, 08:23 PM   #4
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
If Java's compiled with gcc, it will have to be at Sun. Java is closed source, so all you can get are binaries.
 
Old 10-23-2004, 10:08 AM   #5
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,585

Rep: Reputation: 139Reputation: 139
Java is closed source, right, but there are licensees who are entitled to use and modify it and to redistribute the result --- as a binary, as you say. Karl Blackdown and his team regularly start with a given version from Sun and add improvements especially for Linux. In fact, Blackdown was the first Java ever for Linux, quite a while before Sun supported our favourite OS.

BTW, there are other vendors and VMs. Eg, IBM and BEA are licensees having the right to produce and distribute or sell their very own Java VMs.

There are also clean-room implementations, that were created without any support from Sun, thus avoiding the need of acquiring a licence. Kaffe is among the most advanced clean-room VMs, to my knowledge. In fact, there are a two or three clean-room implementations that are also open source, but none of these is up the VM from Sun in features. Some of them, however, are much better suited than Sun's big ship for specialised applications like embedded software.

So you are right, the Java is closed source, but there is something like open source Java, and Sun isn't the only vendor, although they do all the specification work, with support from many others in the Java Community Process (JCP).

Coming back to the original subject of the thread: Not sure if Sun or Blackdown or IBM is the right source, but one of them has binaries compiled with more than one glibc version (probably using GCC). It is vital that you get the VM that matches your libraries, otherwise you will experience all kinds of strange effects.

gargamel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware current? priller Slackware 24 07-09-2005 10:15 AM
how do you keep up with slackware-current? elyk Slackware 33 05-07-2005 11:21 PM
slackware current mustafa Slackware 7 02-08-2005 09:50 PM
Slackware-current milkycow Slackware 7 03-21-2004 12:21 PM
slackware 8.1 iso vs slackware current illtbagu Slackware 9 02-26-2003 07:10 PM


All times are GMT -5. The time now is 01:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration