I created a JAR file and it works fine on my PC (XP) on which Eclipse is installed. It also works on another PC that also has Eclipse.
I tried running it on another PC (XP) that does not have Eclipse. Although it contains JDK and several JREs. The JAR file simply does not execute by clicking or from the command line.
I'm not quite sure, but as I understand it, environment variables are not set properly. Here is the error I get on the command line:
Exception in thread "main" java.lang.NoClassDefFoundError: ...
Any help would be appreciated.
, , .
, , , . ,
, , , . , , JDK, . , .
: eclipse? , / / , eclipse ( java , ). , ANT script eclipse, eclipse ANT script -, .
CLASSPATH.
, . , , . jar env classpath.
jar ( javaw -jar your.jar).
, Eclipse.
Source: https://habr.com/ru/post/1762904/More articles:.NET WPF Charts / Graphs - graphWordpress: add custom field directly above header input field (without modifying kernel files)? - wordpressWordpress plugin returning site name - phpWhat type of encryption can be used for 48-bit to 48-bit? - javamultiple GROUP BY columns into one column - sql48-bit baton - cryptographyaccess to one object in a returned collection (jquery) - jquerySet dependency properties in XAML when the base class is shared - genericsAndroid Bluetooth PBAP - androidhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1762909/how-to-query-remote-mobile-phone-via-bluetooth-as-to-whether-it-supports-pbap-or-not&usg=ALkJrhjO1Wld5RxBRu55NOqgdRSofvpWQgAll Articles