Updated firefox to 55 from Mozilla repo, had to uninstall openjdk 8. Running on 7. Help!

So I updated Firefox from the openSUSE repos (Version 52) to the Mozilla repos (version 55)

As the result of a dependency conflict, openJDK was downgraded, and I’m not sure why.
I believe the conflict is listed in the install attempt below.

The current state of my openJDK situation:

wilson@linux:~> sudo zypper se openjdk
Loading repository data...
Reading installed packages...

S  | Name                             | Summary                                                          | Type   
---+----------------------------------+------------------------------------------------------------------+--------
i  | java-1_7_0-openjdk               | SUSE's implementation of the OpenJDK 7 runtime environment       | package
   | java-1_7_0-openjdk-accessibility | Accessibility connector for OpenJDK 7                            | package
   | java-1_7_0-openjdk-demo          | OpenJDK 7 Demos                                                  | package
   | java-1_7_0-openjdk-devel         | SUSE's implementation of the OpenJDK 7 Development Environment   | package
i  | java-1_7_0-openjdk-headless      | OpenJDK 7 runtime environment without X, audio and video support | package
   | java-1_7_0-openjdk-javadoc       | OpenJDK 7 API Documentation                                      | package
   | java-1_7_0-openjdk-plugin        | Java Web Start and plugin implementation                         | package
   | java-1_7_0-openjdk-src           | OpenJDK 7 Source Bundle                                          | package
   | java-1_8_0-openjdk               | OpenJDK 8 Runtime Environment                                    | package
   | java-1_8_0-openjdk-accessibility | OpenJDK 8 accessibility connector                                | package
   | java-1_8_0-openjdk-demo          | OpenJDK 8 Demos                                                  | package
   | java-1_8_0-openjdk-devel         | OpenJDK 8 Development Environment                                | package
   | java-1_8_0-openjdk-headless      | OpenJDK 8 Runtime Environment                                    | package
   | java-1_8_0-openjdk-javadoc       | OpenJDK 8 API Documentation                                      | package
i+ | java-1_8_0-openjdk-plugin        | Java Web Start and plugin implementation                         | package
   | java-1_8_0-openjdk-src           | OpenJDK 8 Source Bundle                                          | package
wilson@linux:~> sudo zypper install java-1_8_0-openjdk
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: java-1_8_0-openjdk-1.8.0.131-11.1.x86_64 requires java-1_8_0-openjdk-headless = 1.8.0.131-11.1, but this requirement cannot be 
  uninstallable providers: java-1_8_0-openjdk-headless-1.8.0.131-11.1.x86_64[repo-oss]                                                  
 Solution 1: Following actions will be done:                                                                                            
  downgrade of mozilla-nss-3.31-1.1.x86_64 to mozilla-nss-3.28.5-41.1.x86_64                                                            
  install mozilla-nss-3.28.5-41.1.x86_64 (with vendor change)                                                                           
    obs://build.opensuse.org/mozilla  -->  openSUSE                                                                                     
 Solution 2: do not install java-1_8_0-openjdk-1.8.0.131-11.1.x86_64                                                                    
 Solution 3: break java-1_8_0-openjdk-1.8.0.131-11.1.x86_64 by ignoring some of its dependencies                                        
                                                                                                                                        
Choose from above solutions by number or cancel [1/2/3/c] (c):

Full repo list if needed:

wilson@linux:~> zypper lr -UP
#  | Alias                               | Name                                    | Enabled | GPG Check | Refresh | Priority | URI                                                                                                                                               
---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------------------------------------------------------------------------------------
 8 | openSUSE-Leap-42.3-0                | openSUSE-Leap-42.3-0                    | No      | ----      | ----    |   97     | cd:///?devices=/dev/disk/by-id/ata-MATSHITADVDRW_UJ8A7AF_WR66_010793                 
 4 | google-chrome                       | google-chrome                           | Yes     | ( p) Yes  | Yes     |   99     | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                  
12 | repo-debug-non-oss                  | openSUSE-Leap-42.3-Debug-Non-Oss        | No      | ----      | ----    |   97     | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/              
11 | repo-debug                          | openSUSE-Leap-42.3-Debug                | No      | ----      | ----    |   97     | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/                  
14 | repo-debug-update-non-oss           | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No      | ----      | ----    |   97     | http://download.opensuse.org/debug/update/leap/42.3/non-oss/                         
13 | repo-debug-update                   | openSUSE-Leap-42.3-Update-Debug         | No      | ----      | ----    |   97     | http://download.opensuse.org/debug/update/leap/42.3/oss/                             
15 | repo-non-oss                        | openSUSE-Leap-42.3-Non-Oss              | Yes     | (r ) Yes  | Yes     |   97     | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/                    
16 | repo-oss                            | openSUSE-Leap-42.3-Oss                  | Yes     | (r ) Yes  | Yes     |   97     | http://download.opensuse.org/distribution/leap/42.3/repo/oss/                        
 1 | KDE_extra                           | KDE-extra                               | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_42.3/             
 2 | devel-compiler                      | devel-compiler                          | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/repositories/devel:/tools:/compiler/openSUSE_Leap_42.3/ 
 9 | openSUSE_Leap_42.3                  | games_openSUSE_Leap_42.3                | Yes     | (r ) Yes  | Yes     |   96     | http://download.opensuse.org/repositories/games/openSUSE_Leap_42.3/                  
 5 | graphics                            | graphics                                | Yes     | (r ) Yes  | No      |   96     | http://download.opensuse.org/repositories/graphics/openSUSE_Leap_42.3/               
 6 | http-download.opensuse.org-67afae2c | home:AndnoVember:test                   | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/repositories/home:/AndnoVember:/test/openSUSE_Leap_42.3/
 7 | mozilla                             | mozilla                                 | Yes     | (r ) Yes  | Yes     |   96     | http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_42.3/                
18 | repo-source-non-oss                 | openSUSE-Leap-42.3-Source-Non-Oss       | No      | ----      | ----    |   97     | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/             
17 | repo-source                         | openSUSE-Leap-42.3-Source               | No      | ----      | ----    |   97     | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/                 
20 | repo-update-non-oss                 | openSUSE-Leap-42.3-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   97     | http://download.opensuse.org/update/leap/42.3/non-oss/                               
19 | repo-update                         | openSUSE-Leap-42.3-Update               | Yes     | (r ) Yes  | Yes     |   97     | http://download.opensuse.org/update/leap/42.3/oss/                                   
10 | packman.inode.at-suse               | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   96     | http://packman.inode.at/suse/openSUSE_Leap_42.3/                                     
 3 | download.nvidia.com-leap            | nVidia Graphics Drivers                 | Yes     | (r ) Yes  | Yes     |   96     | https://download.nvidia.com/opensuse/leap/42.3                          

To be clear, what I would like is to get back to openJDK 8, as I need it to run various pieces of software (Minecraft if I’m honest.)

Thanks for reading, and thanks for any help you can offer! I love you openSUSE folks!

In your copy paste Java isn’t being downgraded, mozilla-nss is.

What does you java --version say from a terminal?

The reason java’s not being downgraded is because this is my naive attempt to get back to java 8.
Unfortunately I did not record the original output of the downgrade, I did it through Yast 1-click.

Interestingly, though,

wilson@linux:~> java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

What does zypper in java-1_8_0-openjdk output?

Firefox 55 no longer support the NSAPI so Java plugins and such as DOA - only Flash was spared.

wilson@linux:~> sudo zypper in java-1_8_0-openjdk
[sudo] password for root: 
Retrieving repository 'Packman Repository' metadata .......................................................................................................................................................................................................................[done]
Building repository 'Packman Repository' cache ............................................................................................................................................................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: java-1_8_0-openjdk-1.8.0.131-11.1.x86_64 requires java-1_8_0-openjdk-headless = 1.8.0.131-11.1, but this requirement cannot be provided
  uninstallable providers: java-1_8_0-openjdk-headless-1.8.0.131-11.1.x86_64[repo-oss]
 Solution 1: Following actions will be done:
  downgrade of mozilla-nss-3.31-1.1.x86_64 to mozilla-nss-3.28.5-41.1.x86_64
  install mozilla-nss-3.28.5-41.1.x86_64 (with vendor change)
    obs://build.opensuse.org/mozilla  -->  openSUSE
 Solution 2: do not install java-1_8_0-openjdk-1.8.0.131-11.1.x86_64
 Solution 3: break java-1_8_0-openjdk-1.8.0.131-11.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c): 


Allow the downgrade (1) and it should still work.

Doing that downgrade hits Firefox, unfortunately.

wilson@linux:~> sudo zypper in java-1_8_0-openjdk
[sudo] password for root: 
Retrieving repository 'Packman Repository' metadata .......................................................................................................................................................................................................................[done]
Building repository 'Packman Repository' cache ............................................................................................................................................................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: java-1_8_0-openjdk-1.8.0.131-11.1.x86_64 requires java-1_8_0-openjdk-headless = 1.8.0.131-11.1, but this requirement cannot be provided
  uninstallable providers: java-1_8_0-openjdk-headless-1.8.0.131-11.1.x86_64[repo-oss]
 Solution 1: Following actions will be done:
  downgrade of mozilla-nss-3.31-1.1.x86_64 to mozilla-nss-3.28.5-41.1.x86_64
  install mozilla-nss-3.28.5-41.1.x86_64 (with vendor change)
    obs://build.opensuse.org/mozilla  -->  openSUSE
 Solution 2: do not install java-1_8_0-openjdk-1.8.0.131-11.1.x86_64
 Solution 3: break java-1_8_0-openjdk-1.8.0.131-11.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c): 1
Resolving dependencies...
Resolving package dependencies...

Problem: MozillaFirefox-55.0.1-1.1.x86_64 requires libnss3.so(NSS_3.30)(64bit), but this requirement cannot be provided
 Solution 1: Following actions will be done:
  downgrade of MozillaFirefox-55.0.1-1.1.x86_64 to MozillaFirefox-52.3.0-60.1.x86_64
  install MozillaFirefox-52.3.0-60.1.x86_64 (with vendor change)
    obs://build.opensuse.org/mozilla  -->  openSUSE
 Solution 2: do not install mozilla-nss-3.28.5-41.1.x86_64
 Solution 3: break MozillaFirefox-55.0.1-1.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c):

I upgraded because I wanted to have multi-thread performance on Firefox.

Is there some chance that a different Priority order for my repositories would be effective?

It seems java-1_8_0-openjdk-headless has a hard dependency on mozilla-nss 3.28.5 and circularly openjdk itself has a hard dependency on the headless package.

Since openjdk7 does not, do you have a specific requirement for 1.8? Does Minecraft need it?

If not, you could try using 1.7.0 (which you have installed already) and make it the default java with** update-alternatives --config java **and uninstall openjdk 1.8.

Let me check things and see if Java 7 will do what I need.

Thank you for your help so far, by the way!

Okay. So, I do believe openJDK-1.7.0 will work for my purposes. However, even after reinstalling it, Java’s not working at all. java --version still returns

Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I am at this point concerned that I may have broken something on my system fairly badly.

Do you have any advice for this situation?

Thanks.

A reboot has not helped the situation nor worsened it. However, old versions of Minecraft do run… newer ones throw this error:

Exception in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft/client/main/Main : Unsupported major.minor version 52.0

Not sure if this is error says anything about the java version or what. It’s probably a coincidence that my previous version of Firefox was 52.

My apologies, it’s java -version , one dash not two dashes.

However the Minecraft error you are getting implies it requires Java 1.8.

Ahhh, okay. Much less panic now. Thanks!

wilson@linux:~> java -version
java version "1.7.0_141"
OpenJDK Runtime Environment (IcedTea 2.6.10) (suse-43.1-x86_64)
OpenJDK 64-Bit Server VM (build 24.141-b02, mixed mode)

Now knowing that Java *does *work, I believe that java 1.7.0 is insufficient for recent versions of Minecraft.

Yes, the error you are getting would imply that the Minecraft “binary” is designed for Java 1.8.

Unfortunately this will leave you with an older version of Firefox until they can either fix the repo or release a java update via the update repo. I doubt they’ll release FF55 for 42.3 because it ships with an ESR version, the last to support plugins like Java that are still in use.

Alright. I think I’ll hang tight in single-thread until Leap 15. Thanks for helping me figure this out, Miuku!
I stand by my earlier statement: I love you openSUSE folks!

If you want a multi-threaded browser but don’t want to touch Chrome, give Vivaldi a spin - I use it as my primary driver nowadays.

I run FF55 with Java 1.8 on tumbleweed, no issues at all on my installation. All plug-ins/add-ons I use and need are still working. I had to accept some dependency issue but I gave it a try and it worked.

I’ve tried it before, had some problems. However, I just checked, and they’re since fixed. I’ll give it another whirl!

Thanks for reminding me.

Do you allow it to save passwords? Is it secure to do so?

It uses encrypted password storage but does NOT sync them to any cloud - they are stored locally.

Unfortunately Tumbleweed is not an option for me. I’ve looked for ways to do it in the past, but my graphics workflow would be upset with OSS drivers. 1070+Nouveau is rather subpar from what I hear…

I do, however, appreciate hearing that it works in TW! That means it’s likely to work in a future version of Leap.