cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3604
Views
5
Helpful
5
Replies

ASDM 7.6.1 on Ubuntu 16.04

Maksym Kursin
Level 1
Level 1

Hi all!

Recently I'm upgraded my workstation from ubuntu 14.04 to 16.04 and ASDM (7.6.1) can't run now with following error:

 

net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file. The application has not been initialized, for more information execute javaws/browser from the command line and send a bug report.

  at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:580)

  at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:936)

Caused by: java.lang.reflect.InvocationTargetException

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:498)

  at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:574)

  ... 1 more

Caused by: java.lang.ExceptionInInitializerError

  at com.cisco.launcher.s.if(Unknown Source)

  at com.cisco.launcher.Launcher.main(Unknown Source)

  ... 6 more

Caused by: java.lang.NumberFormatException: For input string: "03-Ubuntu"

  at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

  at java.lang.Integer.parseInt(Integer.java:580)

  at java.lang.Integer.parseInt(Integer.java:615)

  at com.cisco.launcher.ClassUtil.<clinit>(Unknown Source)

  ... 8 more

java -version

openjdk version "1.8.0_03-Ubuntu"

OpenJDK Runtime Environment (build 1.8.0_03-Ubuntu-8u77-b03-3ubuntu3-b03)

OpenJDK 64-Bit Server VM (build 25.03-b03, mixed mode)

Does anybody also faced with this issue? Any solutions?

5 Replies 5

elparis
Cisco Employee
Cisco Employee

This is a bug in Ubuntu's packaging of OpenJKD 8 for Ubuntu 16.04. The field after '_' in "1.8.0_03-Ubuntu" is supposed to be a number. JNLP crashes when trying to parse "03-Ubuntu" as a number.

The Ubuntu bug is:

https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1550244

A fix should come to Ubuntu 16.04 at some point. In the mean time anyone affected can grab the openjdk packages from Ubuntu 16.10 and install them on 16.04. The openjdk packages in Ubuntu 16.10 don't have this problem.

Cheers,

Eloy Paris.-

It appears openjdk in 16.10 is fixed, just not the one in 16.04.  I've made a post re-affirming this.  Hopefully not long now.

Philip D'Ath
VIP Alumni
VIP Alumni

I have the same problem.  It's poked.  It also broke my Java softphone.

I am tossing open putting in Oracle java instead of openjdk.  I guess the other option would be to remove the current java and put back the older openjdk.

Maksym Kursin
Level 1
Level 1

Just got OpenJDK update (8u91-b14-0ubuntu4~16.04.1) with fix.

openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

I did a "normal" update of my 16.04 machine and can confirm the ASDM is also working for me again now.

Review Cisco Networking for a $25 gift card