1

I just bought a HP ProCurve 2510-24 J9019B network switch, and tried to access the web interface, and got the following error message:

This product requires the Java language, which is either disabled or not available on this browser.

To use this product you must either upgrade your browser to one that is Java compliant, or enable the Java language on your current browser.

I have tried using every mainline browser: Chrome, Opera, Firefox and Edge, but get the same error. I also tried enabling Java by following these steps, but no luck.

Is there any other way to get into the web interface?


I currently dont have a copy of the latest firmware, so I cant update it, and the security tab in the java control panel wont work. and I already tried a guide to activate java in my browser, it didn't work

Robotnik
  • 2,645
jamesYValley
  • 71
  • 1
  • 1
  • 9

4 Answers4

4

Most browsers no longer support the plugin type that was used to embed Java and similar. In other words, it's no longer just an option that you need to activate – the necessary code is literally no longer there.

Get VirtualBox (or some other virtualization app) and install Windows XP or Windows 2000 to a VM, then install an appropriately old version of Java JRE. (For WinXP any Java 6 or Java 8 should work. If you chose Win2000, install JRE 6u21 as even 6u45 is too new for the OS.)

The answer from the previous thread still applies.

grawity
  • 501,077
3

I had the same issue with the GUI and solved it both o Windows and Linux using the Pale Moon browser and java. The procedure is described below.

On Linux :

Install java (using a terminal with sudo):

1- Download jdk1.8.0.261 (mandatory) for your distribution - Later versions don't embed libnpjp2.so - and install it following standard procedure

https://www.oracle.com/fr/java/technologies/javase/javase8u211-later-archive-downloads.html

https://www.java.com/en/download/help/linux_x64_install.html

2 - Configure java to enable java execution for your switch : in the terminal window, go to the directory where you have installed java, change directory to bin (cd bin), launch the Control Panel (./Control Panel). This will open a graphical interface to configure Java. In the security tab, add the address of your switch (e.g. htpp://192.168.1.1).

3 - Create a symbolic link for Pale Moon to access to libnpjp2.so :

Create the Mozilla plugins directory

  • cd /usr/lib
  • mkdir mozilla
  • cd mozilla
  • mkdir plugins

create the symbolic link to the library

  • sudo ln -s /usr/java/jdk1.8.0_261//jre/lib/amd64/libnpjp2.so

4 - Install Pale Moon browser :

https://developer.palemoon.org/docs/linux-installation/

5 - Launch Pale Moon :

Enter your switch address.

You will be incited to update Java. I didn't try this and forbid the update. Accept the security risk. The switch page should be displayed after a few seconds.

On Windows :

1 - Install Java

Follow the standard installation procedure: https://www.java.com/en/download/help/windows_manual_download.html

2 - Configure Java :

  • type java in the launch pad, this will open the Java Control Panel
  • go to the Security tab
  • add your switch address in the Exception Site List

3 - Install Pale Moon :

https://www.palemoon.org/download.shtml

4 - Launch Pale Moon :

Enter you switch address. You will be asked for permission to run the application. Click on run and you page should be displayed after a few seconds.

Many thanks to the Pale Moon developers who maintain this browser and enabled me to solve this issue.

Duc
  • 46
2

If it's an NPAPI plugin that the website tried to install, that has been abandoned a while ago. It's a very outdated technology. For example, Chrome dropped support around 2015 in version 42. There's no point of trying to "fix" it in modern browsers.

You should ask whoever told you to get around it if they're aware of that fact. Unless it's a very important product for your company, looking for a workaround is waste of time. They really should provide clear instructions of using older browsers/browser versions in that case, as it may not even support all the NPAPI versions.

Destroy666
  • 12,350
1

I tried to work with J2SE Runtime Environment 5.0 update 5 from old versions
Old Java version and it's worked with me. but you also need to add the switch IP as a trusted website on IE.