Results 1 to 9 of 9

Thread: Strange Java problems

  1. #1
    Will Honea NNTP User

    Default Strange Java problems

    I'm getting some weird problems lately with Java apps (random hangs, apps
    don't load reliably, etc.). A quick look tells me I have both the Sun and
    openJDK stuff installed so I suspect this relates to an issue I saw on
    another forum. Which is the best (most stable) of the two to install?
    Right now I plan a brute force attack to delete all the java stuff and
    re-install from scratch.

    --
    Will Honea

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Strange Java problems

    Remove openJDK and leave Sun:
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    platinum NNTP User

    Default Re: Strange Java problems

    caf4926 wrote:
    > Remove openJDK and leave Sun:
    > '[image: http://thumbnails12.imagebam.com/433...e43389041.gif]'
    > (http://www.imagebam.com/image/4d82ee43389041)


    i agree...run the SUN stuff, only...but Will, deleting all and
    reinstalling may be best...you decide..

    openSUSE can hang on to several different versions...i've been happy
    lately with just one installed..and i get by with just these three pieces:

    java-1_6_0-sun
    java-1_6_0-sun-devel
    java-1_6_0-sun-plugin

    --
    platinum

  4. #4
    Will Honea NNTP User

    Default Re: Strange Java problems

    platinum wrote:

    > caf4926 wrote:
    >> Remove openJDK and leave Sun:
    >> '[image: http://thumbnails12.imagebam.com/433...e43389041.gif]'
    >> (http://www.imagebam.com/image/4d82ee43389041)

    >
    > i agree...run the SUN stuff, only...but Will, deleting all and
    > reinstalling may be best...you decide..
    >
    > openSUSE can hang on to several different versions...i've been happy
    > lately with just one installed..and i get by with just these three pieces:
    >
    > java-1_6_0-sun
    > java-1_6_0-sun-devel
    > java-1_6_0-sun-plugin


    Just one question: I didn't see the 64-bit Mozilla plugin in the Sun stuff
    but I did get the plugin with the icetea (Open) version. Did I just
    overlook something or is the java-1_6_0-sun-plugin still 32-bit only???

    Oops - I see from your screen shot that I better have my glasses checked!
    Thanks.

    --
    Will Honea

  5. #5
    platinum NNTP User

    Default Re: Strange Java problems

    > Oops - I see from your screen shot that I better have my glasses checked!

    not my screen shot (which also proves MY glasses are far from meeting
    that eye test)...

    and, i can't answer your 64 question, because i'm still in 32, though
    i did load up v9.x or 10-something in 64 and decided it was more
    trouble than worth...(and, i don't have any huge dbs or crank on huge
    photo RAW files...so. . .)

    hmmmm...but, wouldn't the 32 bit plugin run on your system??

    --
    platinum

  6. #6
    Join Date
    Jun 2008
    Location
    Stoney Stanton - England
    Posts
    1,102

    Default Re: Strange Java problems

    64 bit java rpms are here:-

    Index of /factory/repo/oss/suse/x86_64

  7. #7
    Join Date
    Jun 2008
    Location
    Stoney Stanton - England
    Posts
    1,102

    Default Re: Strange Java problems

    sorry i gave the wrong link - it should be:-

    Index of /factory/repo/non-oss/suse/x86_64

  8. #8
    Will Honea NNTP User

    Default Re: Strange Java problems

    dth2 wrote:

    >
    > sorry i gave the wrong link - it should be:-
    >
    > 'Index of /factory/repo/non-oss/suse/x86_64'
    > (http://download.opensuse.org/factory...s/suse/x86_64/)


    Right on. After platinum's post, I went back and looked again. This time,
    I limited the yast search to "java-1_6" and there it was. Don't know how I
    missed it the first time but now the FireFox plugin and DB2's Control
    Console play nice together again.

    After revisiting the ps output, I don't think it was a matter of having both
    installed but the fact that different programs were invoked in such a way
    that BOTH versions were trying to run at the same time and stepping on each
    other in some obscure fashion. In fact, once I re-installed the Sun 1.6
    plugin and overwrote the FireFox plugin to Sun rather than the openJDK
    plugin all the problems seemed to resolve.

    Anyway, I feel a lot more confident about having a single java version
    running with no chance of collision now. Lesson learned.

    --
    Will Honea

  9. #9
    Join Date
    Jan 2009
    Location
    Nrnberg
    Posts
    19

    Default Re: Strange Java problems

    The problem probably was that 64 bit Webstart was only added after the release of openSuSE 11.1 so it can only be found in the update repo.
    Personally I don't install software from the main factory repo, since I'm scared that these programs are compiled for a different kernel version etc. You can get the plugin from the main update repo:
    http://download.opensuse.org/update/...1.1.x86_64.rpm

    Also on the conflicting installation of openJDK and Sun Java, as far as I know there should be no problem, since update-alternatives should create the correct symlinks. I have both installed (actually Java 5 and 7 too) and switch between them without a problem.

    There is no problem in having multiple Java versions installed, the problem is wrong symlinks in /usr/bin or somewhere else.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •