We help IT Professionals succeed at work.

Error when trying to launch jnlp file

SJATechsupport used Ask the Experts™
Hi all -

I have a user that is trying to launch her gradebook from PowerSchool. It's a .jnlp file. Whenever you double click the file it flashes a command prompt window with some text and then does nothing. I opened the file from the command prompt and captured the text.

Win 7 x86

This is the error I am getting.

Exception in thread "main" java.lang.NoClassDefFoundError: C:\Users\mflanagan\Desktop\launchGradeBook/jnlp
Caused by: java.lang.ClassNotFoundException: C:\Users\mflanagan\Desktop\launchGradeBook.jnlp
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: C:\Users\mflanagan\Desktop\launchGradeBook.jnlp. Program will exit.

Open in new window

I have tried uninstalling/reinstalling java, using different versions of java, using CCleaner to prune the registry, deleted the application data, launching the gradebook as a different user. All to no avail.

Any luck? all of the info I find online is for programming in java but that is not what I'm trying to do.... thanks!
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Open in new window

makes no sense as a command. Try

C:\Users\mflanagan>javaws desktop\launchGradeBook.jnlp

Open in new window


C:\Users\mflanagan>start desktop\launchGradeBook.jnlp

Open in new window

Top Expert 2016