Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8233172

A program written in Java was installed in Windows, but is not launched

    Details

    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10 Education / 64-bit OS / Java versions installed include 9.0.1 and 1.8.0_152

      A DESCRIPTION OF THE PROBLEM :
      I have installed a software that is written in Java (ESOM Databionic Tools) in Windows 10. However, it is not launched and is not included in Start Menu either. This is the link to the installation guide: http://databionic-esom.sourceforge.net/install.html
      To be more specific, when I execute the esomana from the directory in which the application has been installed, this is what I get in cmd:

      "configuration file not found: C:\etc\esom.conf
      log4j:WARN No appenders could be found for logger (databionics.esom.Analyze).
      log4j:WARN Please initialize the log4j system properly."

      I appreciate if you could help me with this. By the way, I already have the full access/admin privilege on this machine.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Download the .jar installer file from this link: http://databionic-esom.sourceforge.net/install.html
      Execute the installer.
      Execute the esomana from "bin" directory located where the software was installed.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It's expected to have an option in Start Menu entitled "Databionic ESOM Analyzer", which is not there.
      Alternatively, by executing the esomana file from "bin" directory, the software should be launched.
      ACTUAL -
      >call java -cp "C:\ESOM\lib\lshtools-0.9.9.jar;C:\ESOM\lib\log4j-1.2.8.jar;C:\ESOM\lib\gnu-regexp-1.1.4.jar;C:\ESOM\lib\esom-1.1.jar;C:\ESOM\lib\commons-cli-1.0.jar;C:\ESOM\lib\colt-1.2.0.6.jar;C:\ESOM\lib\ant-1.5.3-1.jar;" -Xmx512m databionics.esom.Analyze %*
      java.io.IOException: Cannot run program "command.com": CreateProcess error=2, The system cannot find the file specified
              at java.base/java.lang.ProcessBuilder.start(Unknown Source)
              at java.base/java.lang.ProcessBuilder.start(Unknown Source)
              at java.base/java.lang.Runtime.exec(Unknown Source)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.base/java.lang.reflect.Method.invoke(Unknown Source)
              at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:646)
              at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:416)
              at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:427)
              at org.apache.tools.ant.taskdefs.Execute.getProcEnvironment(Execute.java:180)
              at databionics.util.Utils.getEnvironmentVariable(Utils.java:88)
              at databionics.Application.init(Application.java:472)
              at databionics.esom.Analyze.init(Analyze.java:107)
              at databionics.esom.Analyze.main(Analyze.java:229)
      Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
              at java.base/java.lang.ProcessImpl.create(Native Method)
              at java.base/java.lang.ProcessImpl.<init>(Unknown Source)
              at java.base/java.lang.ProcessImpl.start(Unknown Source)
              ... 15 more
      configuration file not found: C:\etc\esom.conf
      log4j:WARN No appenders could be found for logger (databionics.esom.Analyze).
      log4j:WARN Please initialize the log4j system properly.
      usage: esomana [-m null] [-n null] [-b null] [-c null] [-u null] [-v] [-w null] [-h] [-i null] [-l
             null]
      Databionics ESOM Tools
       -u,--umx *.umx file with height-matrix
       -i,--imx *.imx file with island-matrix
       -b,--bm *.bm file with best matches
       -c,--cls *.cls file with classification
       -h,--help display this help
       -l,--lrn *.lrn file with data patterns
       -m,--mask *.cls file with class mask
       -n,--names *.names file with names
       -v,--version display version information
       -w,--wts *.wts file with weight vectors
      Exception in thread "main" java.lang.NullPointerException
              at java.base/java.util.concurrent.ConcurrentHashMap.putVal(Unknown Source)
              at java.base/java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
              at java.base/java.util.Properties.put(Unknown Source)
              at java.base/java.util.Properties.setProperty(Unknown Source)
              at databionics.esom.Analyze.exit(Analyze.java:262)
              at databionics.Application.printHelp(Application.java:360)
              at databionics.Application.init(Application.java:559)
              at databionics.esom.Analyze.init(Analyze.java:107)
              at databionics.esom.Analyze.main(Analyze.java:229)


      CUSTOMER SUBMITTED WORKAROUND :
      Unfortunately, I couldn't do anything to bypass this bug.

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              psonal Pallavi Sonal (Inactive)
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: