Results 1 to 2 of 2

Thread: OpenSuse 42.2 Install Java

  1. #1

    Default OpenSuse 42.2 Install Java

    I am trying to install Frostwire and when I attempt to run it, I get the error

    Something went wrong with FrostWire.
    Maybe you're using the wrong version of Java?

    Error: Unable to access jarfile frostwire.jar


    I went to java.com and checked my java and it shows the Iced Tea version of Java. I'm attempting to install real java, and I received this error...

    Code:
    david@linux-q0df:~/Downloads> sudo rpm -ivh jre-8u121-linux-x64.rpm
    root's password:
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:jre1.8.0_121-1.8.0_121-fcs       ################################# [100%]
    Unpacking JAR files...
        plugin.jar...
        javaws.jar...
        deploy.jar...
        rt.jar...
        jsse.jar...
        charsets.jar...
        localedata.jar...
    update-alternatives: error: alternative javaws can't be slave of java: it is a slave of javaplugin
    warning: %post(jre1.8.0_121-1.8.0_121-fcs.x86_64) scriptlet failed, exit status 2
    I then tried this...

    Code:
    david@linux-q0df:~/Downloads> sudo zypper in jre-8u121-linux-x64.rpm
    root's password:
    Sorry, try again.
    root's password:
    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/update/leap/42.2/oss/'
    
    Abort, retry, ignore? [a/r/i/? shows all options] (a): i
    Do you want to disable the repository openSUSE-Leap-42.2-Update permanently? [yes/no] (no): 
    Warning: Skipping repository 'openSUSE-Leap-42.2-Update' because of the above error.
    File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/update/leap/42.2/non-oss/'
    
    Abort, retry, ignore? [a/r/i/? shows all options] (a): i
    Do you want to disable the repository openSUSE-Leap-42.2-Update-Non-Oss permanently? [yes/no] (no): 
    Warning: Skipping repository 'openSUSE-Leap-42.2-Update-Non-Oss' because of the above error.
    Some of the repositories have not been refreshed because of an error.
    Loading repository data...
    Reading installed packages...
    'jre1.8.0_121 = 0:1.8.0_121-fcs' is already installed.
    No update candidate for 'jre1.8.0_121-1.8.0_121-fcs.x86_64'. The highest available version is already installed.
    Resolving package dependencies...
    
    Nothing to do.
    david@linux-q0df:~/Downloads>
    Any suggestions on how to get java to work?

  2. #2
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: OpenSuse 42.2 Install Java

    don't use Oracle's rpm it's buggy use openjdk 1.8 from opensuse (it might be called a jdk but it's a jre) try
    Code:
    zypper in java-1_8_0-openjdk
    or search for java in yast
    edit as you've already installed oracle's rpm you should remove it
    Code:
    zypper rm jre-8u121-linux-x64.rpm

Posting Permissions

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