• Post Reply Bookmark Topic Watch Topic
  • New Topic

Which Linux is best with Java  RSS feed

 
paul wheaton
Trailboss
Posts: 22580
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(something I found on a mailing list ...)
> Currently I have SUSE and Red Hat both released around the same, June 1998.
> sitting on my computer desk.
> I want to avoid any pain with JAVA 2.0, netscape, IDEs, JDKs .... so which
> is best supported when all the new JAVA goodies come out.
I don't know of any RedHat-specific problems.
SuSe has a very annoying problem. The default LD_LIBRARY_PATH is such that
the system's default libjpeg.so is used rather than the JDK's libjpeg.so
(which is a super-set of the default version). This causes the JDK to
throw a java.lang.UnsatisfiedLinkError whenever you try to load a .jpg
file. (ie. getToolkit().getImage("picture.jpg") will always fail. Note
that .gif images are not affected by this.)
The work-around is to copy the libjpeg.so file which comes with the
JDK over the one in /usr/X11R6/lib. This aught not to break anything
since it is a super-set of the original.
 
Mario Camou
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most versions of Netscape I've tried (4.05, 4.06, 4.07, 4.5, haven't tried 4.08) have problems with Java on Red Hat (5.0, 5.1, 5.2). Basically, after loading an applet memory usage starts to go up, up, up...until the computer crashes. I've had to disable Java.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mario,
RedHat 5.x is too raw now, and there are a lot of problems with 'large' programs with glibc, ports are incomplete. RedHat 4.x are well enough for jdk. I've tried different jdk problems. Sometimes there are less bugs than in Solaris's jdk !
Paul,
about those SuSe problems - I never used SuSe, but there is no strict need to overwrite X11's libjpeg. It's enough to use
LD_LIBRARY_PRELOAD, pointing it to jdk's libjpeg.so, this should work.
I don't think this libraries are compatible somehow, and xv, xpaint and possibly some more programs can fail in case of using jdk's libjpeg.
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to make my box a dual boot. Linux RedHat 5.2, and Win98.
The RedHat box doesn't say what version of Netscape is included. Does anyone one which version is shipped?
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
O.k., I know this is a place to post Java stuff, but if you've ever tried installing Linux, you know it can be really easy, or extremely frustrating! After I get Linux loaded up properly on my system, I promise to have only Java posts.
Anyway, I'm having a problem with installing Linux 5.2 on my Dell, Pentium II. It has a 13.8GB HD.
I have used fdisk and disk druid before to partion hard drives with no problem - until now. Seems that neither utility wants to partition my disk. I think its because (I read somewhere once but can't find it now) that fdisk and disk druid have a 8GB to 10GB limit.
Has anyone else ever had this problem with a large hard drive? Is there a cure? Thanks in advance!
 
Pawel Veselov
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, we have two questions here.
1) RedHat doesn't have Netscape included in it, since I know. May be this is true only for 4.x RedHats, but. Anyway the best way of getting the Netscape for Linux is checking the ftp.netscape.com or www.netscape.com for the most fresh version for glibc.
2) For those extra large HDs. Yes, the limit is about 8Gb, but linux fdisk (fdisk or cfdisk) is definetely able to get it through. You just need to supply the information about your HD via -c, -h and -s options. This should not depends on the access type (LBA,Large or normal) and I made this working on 10.2 HD. By now, you'll need to supply this options every time your launch your fdisk. If you want to do this in installation process, you should call extra functionality option in fdisk after it was run and change heads/sectors/cylinders values via 'c','h' and 's' commands.
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Pawel. I got it working now.
Unfortunately I didn't get a chance to do it with fdisk. My department bought a product called Partition Magic and I used it instead. It is a windows app, so since I already had Win98 loaded and wanted to make a dual boot machine, I gave it a shot.
Partition Magic is just as the name implies, magic. It brings up a graphical represtation of your hard drive(s), and asks you what you want to do. After telling it exactly how much space you want partitioned, and what the space will be used for (linux, O/S2, FAT32, etc.)it brings up a graphical representation of what your hard drive will look like if you make the changes, compared to what it looks like originally. It does not make the changes until you tell it to.
All kinds of information is represented about what your new partions will look like. The best (for linux) was what cylinder(s) the partions cover, as you know important for / (root).
Although I used Partition Magic it's good to know that this operation can indeed be done through fdisk. I am adding your post to my personnal "how to" documentation so that I can reference it in future Linux projects. Again thanks for your help!
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, RedHat 5.2 did come with Netscape. However, I can't find anything in the book or in Netscape about what version it is.
Off to Netscape.com for the latest scoop!
 
Pawel Veselov
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
About fdisk saga, you can now try to run fdisk with all options to see, is partition table is looks like the one PartitionMagick is showing you.
I had some problems with accessing my HDD. When I changed the BIOS from AMI to AWARD, I found no way to set up manually the LBA mode and set CHS info by hand. I am just interested, how can CHS information differ in the same way of accessing the HD ? And is partition table is read the same way by all OSs. Of course, this is should be so, but some troubles with this can make think we have some bugs here ...
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow Pawel, you know a lot more about fdisk and partitioning drives than I do. You've lost me.
This is a good opportunity for me to learn more about setting up my BIOS. I'll let you know what I find out.
 
JD Childs
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As for "Which Linux is Best" for Java...I'd have to guess that RedHat will eventually win that race...since that is the flavor most in demand. 3 years ago it was Debian, and before that it was S.U.S.E...so who's to say what's next. But all anyone sees on the store shelves these days is RedHat...which makes me think that Sun will do whatever necessary to see that Java runs well on it. I wouldn't be surprised to see Sun make a major financial investment in RedHat soon.
As for Partition Magic...I agree it's great. Beats any Unix based partition editor I've seen...unless you happen to be a genius. I have a Win95 boot floppy handy just so I can use it on my Unix machines (it works with any OS as long as you know the OS "boot" flag).
 
Michael Finney
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Redhat seems to be it. Predictions came true, huh?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!