Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Java problems

  1. #1

    Question Java problems

    I'm having problems with Netbeans, Eclipse and Java in general - I guess because of gnome 3 ( same thing with fedora 15 and fedora 16 )
    will this be solved if I switched to KDE ? Does anyone have a stable Java development environment with the new release ?

  2. #2

    Default Re: Java problems

    Hello cap10ibraim and welcome to the community!

    Quote Originally Posted by cap10ibraim
    I'm having problems with Netbeans, Eclipse and Java in general - I guess because of gnome 3 ( same thing with fedora 15 and fedora 16 )
    will this be solved if I switched to KDE ? Does anyone have a stable Java development environment with the new release ?
    First of all, which version of openSUSE do you run?

    And which version of java do you use?
    Because I don't think it has something to do with GNOME, but with openJDK.
    By default fedora ships openJDK, so does openSUSE (there's no sun java in the default 12.1 repositories).

    So you'll probably have to install sun java.
    http://en.opensuse.org/SDB:Installin...#openSUSE_12.1

    Best of luck!
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Java problems

    Am 20.11.2011 07:46, schrieb Edward Iii:
    >
    > Hello cap10ibraim and welcome to the community!
    >
    > cap10ibraim Wrote:
    >> I'm having problems with Netbeans, Eclipse and Java in general - I
    >> guess because of gnome 3 ( same thing with fedora 15 and fedora 16 )
    >> will this be solved if I switched to KDE ? Does anyone have a stable
    >> Java development environment with the new release ?

    > First of all, which version of openSUSE do you run?
    >
    > And which version of java do you use?
    > Because I don't think it has something to do with GNOME, but with
    > openJDK.

    Very unlikely, all versions of openJDK (6 and 7) just work with eclipse
    (I don't use Netbeans).
    We need the info Edward requested and a proper description what "does
    not work" means exactly.
    > So you'll probably have to install sun java.
    > http://en.opensuse.org/SDB:Installin...#openSUSE_12.1

    That will NOT help. This describes the JRE (Java runtime
    Environment!!!!) for executing programs the OP is doing development and
    needs a JDK (Java Development Kit) for making programs.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
    nVidia ION | 3GB Ram

  4. #4

    Default Re: Java problems

    Hello martin_helm,

    Quote Originally Posted by cap10ibraim
    I'm having problems with Netbeans, Eclipse and Java in general
    Quote Originally Posted by martin_helm
    > So you'll probably have to install sun java.
    > http://en.opensuse.org/SDB:Installin...#openSUSE_12.1

    That will NOT help. This describes the JRE (Java runtime
    Environment!!!!) for executing programs the OP is doing development and
    needs a JDK (Java Development Kit) for making programs.
    I thought the OP was talking about running/starting the applications.
    And since both Eclipse as Netbeans are written in Java you'll have to have a working JRE.

    My experience with openJDK is that it works well but sometimes fails.
    Sun Java gives an overall stabler feeling in my opinion.
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

  5. #5
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Java problems

    Is the package java-1_6_0-openjdk-devel installed? Without that you just
    have the JRE but no JDK.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
    nVidia ION | 3GB Ram

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Java problems

    Am 20.11.2011 16:06, schrieb Edward Iii:
    > I thought the OP was talking about running/starting the applications.

    You are right, this sounds like a problem even at this level, sorry. So
    something is fishy here.

    >
    > My experience with openJDK is that it works well overall but
    > sometimes fails. Sun Java gives an overall stabler feeling, that's my
    > opinion.
    >

    Being a java developer in my real live and working with both flavors of
    Java I can guarantee you that this is not true, it was in the early days
    of openJDK, but this times are past for a long time now.
    What you probably see as instability is running java programs or
    applets which are poorly written and somehow work with the proprietary
    java and often enough only with some minor versions of it. Solution is
    for the user of such programs to switch to the oracle java since the
    user cannot change the programs and applets and hope the very best that
    the next update of oracle java will not trash this applications.

    Again something is wrong with the users install but it is deeper than
    just openJDK vs. oracle Java.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
    nVidia ION | 3GB Ram

  7. #7
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Java problems

    What is the output from
    Code:
    java -version
    javac -version
    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
    nVidia ION | 3GB Ram

  8. #8

    Default Re: Java problems

    Hi,

    I can confirm that netbeans works well with KDE.

    HTH

    Lenwolf

  9. #9
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Java problems

    Am 20.11.2011 17:56, schrieb lenwolf:
    >
    > Hi,
    >
    > I can confirm that netbeans works well with KDE.
    >

    Out of curiosity, do you use openJDK or Oracle Java?

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
    nVidia ION | 3GB Ram

  10. #10

    Default Re: Java problems

    Hi,

    the short answer is both.

    Development is generally made with the Oracle SDK, and then also tested on OpenJDK.
    Sometimes it's even vice-versa.

    OpenJDK sure has come a long way from where it started....

    Lenwolf

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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