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

Thread: Install Java on OpenSUSE 12.1

  1. #1

    Question Install Java on OpenSUSE 12.1

    Hello guys,

    am just a linux newbie,
    Just want to ask about how to install java on OpenSUSE 12.1

    am switching from windows to linux, so am not that in to linux yet

    any help is much appreciated

    Thanks a lot guys

    Long Live Linux!!!

  2. #2
    Join Date
    Mar 2008
    Location
    Bochum, Germany
    Posts
    3,587

    Default Re: Install Java on OpenSUSE 12.1

    * Jomar808,

    there are Java packages available through the normal software repositories. If the packages you need aren't on the install media, just go to http://software.opensuse.org/

    HTH
    Uwe

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

    Default Re: Install Java on OpenSUSE 12.1

    Quote Originally Posted by Jomar808 View Post
    Hello guys,

    am just a linux newbie,
    Just want to ask about how to install java on OpenSUSE 12.1

    am switching from windows to linux, so am not that in to linux yet

    any help is much appreciated

    Thanks a lot guys

    Long Live Linux!!!
    Do you mean other than the Java installed by default?
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Install Java on OpenSUSE 12.1

    On 01/30/2012 07:56 PM, Jomar808 wrote:
    >
    > Just want to ask about how to install java on OpenSUSE 12.1


    unless you figured out how to _not_ install Java, there is an open
    implementation already installed...the package is openJDK (Java
    Development Kit) and it includes (i think) a browser plugin...should
    'just work' but in reality there are so many different implementations
    of 'Java' that a (say) bank online program written with the MS Java
    devel kit might puke if you try to run it in the openJDK..

    what is it you are having trouble with?

    it is too often necessary to install the 'real' Java (aka: SUN java,
    which is kinda easy to install--remove openJDK first)

    --
    DD http://tinyurl.com/DD-Caveat
    Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

  5. #5

    Default Re: Install Java on OpenSUSE 12.1

    Thanks for the reply guys, where do I check if I have java already installed?
    am planning java development on OpenSUSE

    they say an open source implementation of java exist, aside from the oracle one?

    Thanks a lot masters

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Install Java on OpenSUSE 12.1

    On 01/30/2012 09:16 PM, Jomar808 wrote:
    > Thanks for the reply guys, where do I check if I have java already
    > installed?


    several ways:

    1.open a terminal and type/enter
    Code:
    java -version
    mine shows:
    Code:
    denverd@linux-os114:~> java -version
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
    i'm guessing yours will be the default openJDK..

    2. open YaST Software Management, in the search block type 'java' and
    press the "Search" button, then on the right side look and see what you
    have installed (white check mark, black background)...when done looking,
    press the "Cancel" button

    there are probably others, but two should do for now..


    --
    DD
    Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

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

    Default Re: Install Java on OpenSUSE 12.1

    Am 30.01.2012 21:16, schrieb Jomar808:
    >
    > Thanks for the reply guys, where do I check if I have java already
    > installed?

    Open a terminal and type
    Code:
    java -version
    you should see something like
    Code:
    java version "1.6.0_22"
    OpenJDK Runtime Environment (IcedTea6 1.10.4) (suse-0.3.2-x86_64)
    OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

    > am planning java development on OpenSUSE

    For that you need also the package java-1_6_0-openjdk-devel you can
    install it with yast
    >
    > they say an open source implementation of java exist, aside from the
    > oracle one?
    >

    That is OpenJDK which is used on openSUSE by default.


    --
    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.8.0 |
    nVidia ION | 3GB Ram

  8. #8
    Join Date
    Jan 2012
    Location
    BC
    Posts
    178

    Default Re: Install Java on OpenSUSE 12.1

    If you also want the Oracle (sun java) java then there are some great instructions set up Sun Java on Opensuse 12.1.

    You can have multiple versions of Java installed, but the one being actively used will be reported via:
    Code:
    java -version
    To change versions (as sudo):
    Code:
    update-alternatives --config java
    Will give you a list of numbered options to toggle the default java in use by the system.

  9. #9

    Default Re: Install Java on OpenSUSE 12.1

    yup

    got java installed

    java -version

    output:
    java version "1.6.0.22"
    OpenJDK Runtime Environment (IcedTea6 1.10.4) (suse-1.2-1386)
    OpenJDK Server VM (build 20.0-bll, mixed mode)

    also I've installed java-1_6_0-openjdk-devel and after that, javac is available
    I guess java-1_6_0-openjdk-devel is for the compiler?

    also what could be a great IDE for java on linux? any suggestions?

    also I really want to thank you guys for the warm welcome, this is the first time I got here, and I can't believe I got answers automatically, this community is **** active!

    Thank You so much guys!!!

    Long Live Linux!!!

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

    Default Re: Install Java on OpenSUSE 12.1

    Am 30.01.2012 22:36, schrieb Jomar808:
    > I guess java-1_6_0-openjdk-devel is for the compiler?

    Yes
    >
    > also what could be a great IDE for java on linux? any suggestions?
    >

    Eclipse, I always download it directly from eclipse.org (you just need
    to unpack it where you want). Other people use for example Netbeans.

    --
    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.8.0 |
    nVidia ION | 3GB Ram

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
  •