-
Java Upgrade Hell
After recently installing Knoppix on my new computer, I decided to start working on a programming project in Java started on my previous computer. I discovered that some of the code was not compiling correctly, possibly related to javac being gcj on my new system as opposed to the Sun java compiler on my old system. Anyway, I decided to try installing some new java tools.
Not really sure what I needed, I installed Synaptic to help my search. So far so good. I see the Jikes compiler, try it, don't get it to work, no biggie, move onto Eclipse. Here is where things get hairy. I try to install the complete Eclipse development kit/platform, whatever, about 6 pacakges in total. Something breaks along the way, although eclipse seems partially installed. I can run it sometimes, though it crashes easily and most times cannot start at all. I decide to say screw it and just uninstall both Jikes and all the Eclipse stuff.
I think I got some more apt-get errors on uninstall, though I can't remember for sure. My Java VM still seems to run okay, although now it gives the error:
Mar 22, 2004 11:11:16 PM java.util.prefs.FileSystemPreferences$3 run
WARNING: Could not create system preferences directory. System preferences are unusable.
when I run something, which it did not before. I would like to know what is happening here and how I can clean it up.
The biggest problem though is that Mozilla no longer recognizes the Java plugin! Everything looks correct, although the symlinks seem a bit convoluted they all point to the correct places: /usr/lib/mozilla/plugins/javaplugin_oji.so --> /etc/alternatives/javaplugin_oji.so --> /usr/lib/j2se/1.4/jre/i386/mozilla/javaplugin_oji.so. In that final target the mozilla directory is itself a symlink to same level directory ns610-gcc32. Everything appears to be just as it should but mozilla shows no java plugin under About -> Plugins, and tells me I need to install a plugin when I try to run applets. This is after multiple Mozilla restarts and a system reboot.
Getting my Java VM and plugin back in working order is my top priority. After that, and advice related to getting a solid, Java 1.4 development environment setup would be greatly appreciated. Currently I have gcj-3.3 as my java compiler and j2re1.4 (Blackdown 1.4.0.99beta-1) as VM. Both of these were included in the original Knoppix install and AFAIK have not been modified but the other installations I've tried.
Thanks.
Similar Threads
-
By Schopenhauer101 in forum Hdd Install / Debian / Apt
Replies: 12
Last Post: 01-18-2005, 06:25 AM
-
By mystical_kakarot in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 02-10-2004, 09:20 PM
-
By freeballer in forum Customising & Remastering
Replies: 4
Last Post: 09-30-2003, 02:11 PM
-
By Jackson5 in forum General Support
Replies: 6
Last Post: 05-30-2003, 05:02 AM
-
By vesselinpeev in forum General Support
Replies: 0
Last Post: 05-26-2003, 09:03 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

Toshiba 1TB 2.5" SATA HDD MQ01ABD100V 5400RPM 9.5mm Laptop Internal Hard Drive
$53.99

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)
$45.00

HGST HUS724040ALA640 4TB 7200 RPM SATA 3.5" Internal Desktop Drive 100% Health
$78.00

Hitachi / HGST Travelstar HTS541010B7E610 1TB 2.5" SATA III HDD
$29.99

HITACHI ULTRASTAR 2TB 7.2K 6G 3.5INCH SATA HDD HUS724020ALA640 | TESTED WIPED
$34.95

HDD 3.5" SATA Hard Drive with Windows 10/Win 11 64x Installed Legacy
$35.00

Seagate ST2000NM0055 2TB 7200RPM SATA 6Gb/s 3.5" HDD | Enterprise |
$69.00