com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.

The OpenNMS Issue Tracker | Markus von Rüden | 2 years ago
  1. 0

    [NMS-7053] Installer does not run install -dis correctly on Windows - The OpenNMS Issue Tracker

    opennms.org | 1 year ago
    com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
  2. 0

    At Step 9/10 I get an exception. {quote} C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET OPENNMS_HOME=C:/OpenNMS C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET DBNAME=opennms C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET DBURL=jdbc:postgresql://localhost:5432/ C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET ETCDIR=C:/OpenNMS/etc C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET SERVLETDIR=C:/OpenNMS/webapps/opennms C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>"C:\Program Files\Java\jdk1.7.0_10\bin\java" -Xmx512m "-Dopennms.home=C:/OpenNMS" "-Dinstall.dir=C:/OpenNMS" "-Dinstall.database.name=opennms" "-Dinstall.database.url=jdbc:postgresql://localhost:5432/" "-Dinstall.etc.dir=C:/OpenNMS/etc" "-Dinstall.servlet.dir=C:/OpenNMS/webapps/opennms" -classpath "C:/OpenNMS/lib/opennms_bootstrap.jar;C:/OpenNMS/lib/opennms_install.jar" org.opennms.install.Installer -dis -l C:/OpenNMS/lib java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.getMethod0(Class.java:2685) at java.lang.Class.getMethod(Class.java:1620) at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486) Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.CommandLineParser at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 6 more Exception in thread "main" {quote}

    The OpenNMS Issue Tracker | 2 years ago | Markus von Rüden
    com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
  3. 0

    OpenNMS - Facing problem in last step

    nabble.com | 1 year ago
    com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OpenNMS / Mailing Lists

    sourceforge.net | 1 year ago
    com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.jna.platform.win32.Win32Exception

      The system cannot find the file specified.

      at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue()
    2. Java Native Access Platform
      Advapi32Util.registryGetStringValue
      1. com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:495)
      1 frame
    3. org.opennms.install
      Installer.main
      1. org.opennms.install.IPv6Validator.getStringFromRegistry(IPv6Validator.java:162)
      2. org.opennms.install.IPv6Validator.isPlatformIPv6Ready(IPv6Validator.java:65)
      3. org.opennms.install.Installer.checkIPv6(Installer.java:308)
      4. org.opennms.install.Installer.install(Installer.java:199)
      5. org.opennms.install.Installer.main(Installer.java:967)
      5 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    5. org.opennms.bootstrap
      Bootstrap$3.run
      1. org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame