Opalis 6.3: Fixing the Operator Console Error “java.lang.NoClassDefFoundError: Files” on Windows Server 2008 R2 x64

Notice: This fix is for Windows Sever 2008 R2, but might work on other versions of windows too!

These days I am preparing to teach the new Opalis Course MOC 50507A.

I have installed several Opalis 6.3 Test environments before, and have always had problems installing the Operators Console.

I was really happy when I found the great utility made by Kelverion which I described in this blog article

Unfortunately the console did not work in my environments, even when everything was correctly installed. I tested on 3 environment and I got the same error.

All servers is Windows Server 2008 R2 x64 which is the standard we use for all installations, unless other requirements is stated.

I got this error:

image

Lets take a closer look:

Exception in thread "main" java.lang.NoClassDefFoundError: Files
Caused by: java.lang.ClassNotFoundException: Files
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

I tells us that there is a error in the main section of the program/java server, and it cannot find the Class Definition file for something called “Files”

 

  1. Download a newer version of Java JDK x86. I used the Java 6 update 26, Get it here
  2. Install on the Server running the Operator Console
  3. Change your “JAVA_HOME” environment variable to the new java installation.
  4. Old location was  called jdk1.6.0_04, change it to jdk1.6.0_26 (or the installation folder of the version you installed).
    image
  5. Restart service, or start run.bat! and you’re done!

P.S. Remember to start run.bat as admin!

I have seen other problems, due to paths in the PATH system environment variable, I have fixed this by changing the run.bat file.

I think this problem was exclusively on one of my setups, but if you have problems, please post comment, and I will make another guide for fixing it.

I hope this article will help others with same problem as me! Please do not hesitate to post comments.

By | 2011-06-17T15:14:34+00:00 June 17th, 2011|Automation|1 Comment

About the Author:

Jakob Gottlieb Svendsen

Twitter: @JakobGSvendsen

Jakob Gottlieb Svendsen is a Microsoft Cloud and Data Center Management MVP (http://mvp.microsoft.com/en-us/default.aspx), Working as Global Lead Developer, Senior Consultant and Trainer at CTGlobal, where he is one of the driving forces in keeping CTGlobal a System Center Gold Partner and member of the System Center Alliance.

Since he started at Coretech in 2007, he has focused on Scripting and Development, primarily developing tools, extensions and scripts for the System Center Suite. His main area is Automation (including OMS/Azure Automation, Service Management Automation, PowerShell and Orchestrator). Another area is Windows Azure Pack / Azure Stack, where he does implementation, development, workshops and presentations. He is a world-wide renowned voice in the Automation field.

He is passionately devoted to the community, to which he contributes by being a moderator at TechNet and sharing his knowledge at https://blog.ctglobalservices.com/jgs

  • Co-founder: PowerShell User Group Denmark
  • Speaker at MMS 2016, Minneapolis (www.mmsmoa.com)
  • SCU Europe 2014, 2015, 2016 (www.systemcenteruniverse.ch)
  • Microsoft TechEd North America 2014, Houston
  • NIC 2012,2013,2014,2015, Oslo (www.nic.com)
  • Microsoft CampusDays 2011, 2013, Copenhagen
  • Microsoft TechDays 2015, Sweden (www.techdays.se)
  • Microsoft Partner Event: New in SC2012 SP1
  • User group meetings (PSUG.DK , SCUG.DK/BE/NO, AZMUG + more)
  • Microsoft Certified Trainer.
  • Microsoft Scripting Guys Forum Moderator

Main working areas:

  • Automation (Azure Automation, SMA, SCO)
  • Windows Azure Pack / Azure Stack
  • System CenterVisual Studio Team Services / Team Foundation Server
  • Development:C#.Net, VB.NET, VBScript, PowerShell, Service Manager, OpsMgr, ConfigMgr
  • Orchestrator
  • Windows Azure Pack / Azure Stack

Training:

  • Azure Automation
  • Service Management Automation
  • System Center Orchestrator
  • PowerShell, VBScript, C#.Net, VB.Net
  • Windows Azure Pack / Azure Stack Development Workshops

One Comment

  1. Gwendolyn September 26, 2014 at 7:22 - Reply

    I am really enjoying the theme/design of your web
    site. Do you ever run into any web browser compatibility issues?
    A couple of my blog audience have complained about my blog not
    operating correctly in Explorer but looks great in Chrome.

    Do you have any recommendations to help fix this issue?

Leave A Comment