Results 1 to 9 of 9

Thread: Problems installing programs with java

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Location
    South Jersey
    Posts
    8

    Problems installing programs with java

    I have tried to install two programs which require the j2re1.4 and the j2sdk1.4 without any luck. It goes through the download and unpacking, but when it goes to set it up, I get a message that there were errors. There are no real error messages, to display. The two programs I tried installing were Eclipse IDE and Freetv. The actual program does install, but there is no java support to make it work.

    I apologize for the lack of info, but I am not near my PC, and just remembered to do it. I do run an apt-get update everytime I logon to my laptop, and I run autoclean once a week.

    Nick

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    My HD-installed knoppix is a few months old, but I think
    it's still BlackDown 1.4.1 that's bundled. It's a JRE, not
    a JDK, but it seems to suffice for me to launch eclipse.
    Try defining "export JAVA_HOME=/usr/lib/j2se/1.4/jre/" -
    although you shouldn't have to...

  3. #3
    Junior Member
    Join Date
    Sep 2003
    Location
    South Jersey
    Posts
    8

    re: problems installing programs with java

    Here is the error I am receiving. Thanks.

    <snip>
    Setting up j2re1.4 (1.4.0.99beta-1) ...
    update-alternatives: unable to make /usr/lib/mozilla-cvs/plugins/javaplugin_oji.so.dpkg-tmp a symlink to /etc/alternatives/javaplugin_oji-mozilla-cvs.so: No such file or directory
    dpkg: error processing j2re1.4 (--configure):
    subprocess post-installation script returned error exit status 2
    Errors were encountered while processing:
    j2re1.4
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    </snip>

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555

    Re: re: problems installing programs with java

    Quote Originally Posted by sjlinux
    Here is the error I am receiving...
    When doing/typing what? Your knoppix is installed to HD,
    isn't it? Which version is it? 1.4.0.99beta-1 looks even older
    than what I have... Is this what "java -version" returns as well?

  5. #5
    Junior Member
    Join Date
    Sep 2003
    Location
    South Jersey
    Posts
    8

    re: problems installing programs with java

    That is the latest in my apt repositories. I do an apt-get update everytime I logon to the computer, so I am keeping my apt cache up to date. I just updated apt, so I am hoping that may fix my problem. If not, I will need to work on other things to try and fix it.

    Nick

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    "apt-get update" just keeps your list of available packages synchronised
    with the repositories present in your /etc/apt/sources.list file,
    it does _not_ download/install anything.

    So, when do you see those error messages? When trying to launch
    a java program from the CLI? What do "type java" and "java -version"
    return? Also, do applets work under mozilla/konqueror?
    That would indicate a properly working jre...

  7. #7
    Junior Member
    Join Date
    Sep 2003
    Location
    South Jersey
    Posts
    8
    type java gives me -> /usr/bin/java
    java --version gives me -> Could not create the Java virtual machine

    So Java is installed, the virtual machine is not.

    I am aware of the apt-get update not installing anything on your PC. I was just saying that I always keep my repositories up to date.

    Thanks,
    Nick

  8. #8
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Oops, it looks like your java's broken indeed. Do you actually see anything
    under /usr/lib/j2se/1.4/jre/ ? That's where the BlackDown jre lives.
    I don't know what the debian package name would be to install using apt-get.
    I suggest you download 1.4.2 from Sun instead. Choose the plain jre/jdk
    (your choice) rather than the netbeans co-bundle. The latter wouldn't install
    under debian for me. Netbeans is available separately if you want to compare
    it to eclipse.

    Cheers,

    --bald.

  9. #9
    Junior Member registered user
    Join Date
    Feb 2004
    Location
    Michigan
    Posts
    12

    Installing Java that works with Mozilla FireFox0.8.0+

    Let me start off by saying that I'm not very savy with Linux ... thus why I have a Knoppix HD installation as opposed to Slackware or Gentoo or FreeBSD or something else that requires one to devote ones life solely to the study its arcane scrolls and grimoires.

    If I could comfortably afford it, or if I had a better credit rating, I'd have a G5 Powerbook with OSX, two 2Ghz 64-bit CPUs and a couple of those nifty wide screen 23" flat screen monitors, etc... But, the last time that I checked, purely for shits and giggles mind you, such a system cost $10,731.95, which is $5000.00 more than I paid for my car, give or take. So here we are.

    Now to the point, I've had similar problems in trying to download a version of Java that will work in conjunction with Moziila Firefox 0.8.0+. I believe, and mind you I barely know what any of this means, that because the afore mentioned version of Firefox was compiled with a recent version of GCC (gcc-3.2 I think) it won't work with the older version of java installed by default on Knoppix (build Blackdown-1.4.1-beta).

    Let me add that java works on my computer. The older java/plugin works fine with Konqueror. I just won't work with Firefox.

    Apparently you need (j2sdk1.4.2_03) in order for Firefox 0.8.0+'s plugin to work. My dilemma is that there doesn't seem to be a way to apt-get any other version of java. I tried to apt-get install j2re1.4 j2sdk1.4 from someones private sources repository, as this was the newest one that I could find reference to for Debian. This was a complete failure as well. This is the error message that I got during the post-download configuration ...

    Setting up j2re1.4 (1.4.0.99beta-1) ...
    update-alternatives: unable to make /usr/lib/mozilla-cvs/plugins/javaplugin_oji.so.dpkg-tmp a symlink to /etc/alternatives/javaplugin_oji-mozilla-cvs.so: No such file or directory
    dpkg: error processing j2re1.4 (--configure):
    subprocess post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of j2sdk1.4:
    j2sdk1.4 depends on j2re1.4 (= 1.4.0.99beta-1); however:
    Package j2re1.4 is not configured yet.
    dpkg: error processing j2sdk1.4 (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    There doesn't seem to be a mozilla-cvs folder or package anywhere on my system, and of course You cannot apt-get one.

    Package mozilla-cvs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it: mozilla-snapshot
    My question is has anyone gotten Java to work with FireFox 0.8.0+, and is so, how?

Similar Threads

  1. Installing Programs
    By crix in forum Klik
    Replies: 1
    Last Post: 07-25-2004, 04:26 PM
  2. Installing JAVA for the 2nd time!
    By xaviers2002 in forum General Support
    Replies: 1
    Last Post: 07-23-2004, 02:53 AM
  3. installing JAVA for a newbie.
    By xaviers2002 in forum Hdd Install / Debian / Apt
    Replies: 17
    Last Post: 07-11-2004, 05:53 AM
  4. Installing Programs Help.
    By Prons in forum General Support
    Replies: 8
    Last Post: 03-17-2004, 09:38 PM
  5. help with installing programs NOT with apt-get
    By cyKeMatica in forum General Support
    Replies: 1
    Last Post: 02-15-2004, 09:08 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
  •  


(2) Seagate SAS Hard Drive Exos 7E8 3TB 7200RPM 128MB 12Gb/s 3.5 ST3000NM0035 picture

(2) Seagate SAS Hard Drive Exos 7E8 3TB 7200RPM 128MB 12Gb/s 3.5 ST3000NM0035

$49.99



Seagate BarraCuda ST3000DM008 3TB Internal SATA 6Gb 3.5

Seagate BarraCuda ST3000DM008 3TB Internal SATA 6Gb 3.5" Hard Drive 7200RPM 64MB

$91.99



Seagate ST500DM009 BarraCuda 500 GB 3.5

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive

$14.99



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$329.99



ST6000NM0034 DELL 6TB 7.2K 12G SAS 512E 3.5

ST6000NM0034 DELL 6TB 7.2K 12G SAS 512E 3.5" ENTERPRISE HARD DRIVE 8D1V4 08D1V4

$54.99



Toshiba MG04ACA400 4TB 3.5-inch SATA 6 Gb/s 7,200 RPM Internal Hard Drive picture

Toshiba MG04ACA400 4TB 3.5-inch SATA 6 Gb/s 7,200 RPM Internal Hard Drive

$49.99



Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5

Toshiba 14TB MG07 MG07ACA14TEY 7.2K RPM SATA 6Gb/s 512e 3.5" Enterprise HDD

$299.00



Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5

Seagate ST28000NM001C 28TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$669.99



Seagate 6TB HDD ST6000NM0034 7.2K 3.5

Seagate 6TB HDD ST6000NM0034 7.2K 3.5" SAS 12Gb/s (NOT FOR PC - FOR SERVER ONLY)

$87.00



HDD 3.5

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

$35.00