java.lang.RuntimeException: java.io.IOException: Cannot run program "/home/gijs/.PlayOnLinux-5/engines//wine//upstream-linux-x86/1.8.6/bin/wine" (in directory "/home/gijs/.PlayOnLinux-5/wineprefix/Notepad++/drive_c"): error=2, No such file or directory

GitHub | Brainzyy | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Failure trying to install Age of Empires III: Complete Collection

    GitHub | 3 months ago | Ads20000
    javax.script.ScriptException: TypeError: (((new Wine().wizard(setupWizard).architecture(this._wineArchitecture)).version(this._wineVersion)).prefix(this._name)).luna is not a function in <eval> at line number 106
  2. 0

    GitHub comment 418#270705706

    GitHub | 4 months ago | Brainzyy
    javax.script.ScriptException: TypeError: this._installWinePackage is not a function in <eval> at line number 330
  3. 0

    Bluebird in JDK Nashorn

    GitHub | 2 years ago | akovari
    javax.script.ScriptException: TypeError: Cannot set property "Promise" of undefined in <eval> at line number 29
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    unable to reference "message" object in script

    GitHub | 10 months ago | danyj86
    javax.script.ScriptException: ReferenceError: "message" is not defined in <eval> at line number 2
  6. 0

    FULL PRODUCT VERSION : java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-b106) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b48, mixed mode) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows [Version 6.1.7601] A DESCRIPTION OF THE PROBLEM : New scripting engine introduced in Java 8 no longer seems to handle importClass or importPackage built-in functions. When referenced in a scripting, it throws javax.script.ScriptException: ReferenceError: "importClass" is not defined in <eval> at line number ... REGRESSION. Last worked in version 7u21 STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Run the source code specified in this bug report ERROR MESSAGES/STACK TRACES THAT OCCUR : SEVERE: null javax.script.ScriptException: ReferenceError: "importClass" is not defined in <eval> at line number 1 at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:553) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:537) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:517) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:513) at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:202) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264) at java8scripting.Java8Scripting.main(Java8Scripting.java:15) Caused by: <eval>:1 ReferenceError: "importClass" is not defined at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57) at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:319) at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:291) at jdk.nashorn.api.scripting.NashornScriptEngine.__noSuchProperty__(NashornScriptEngine.java:286) at jdk.nashorn.internal.scripts.Script$engine._L35(nashorn:engine/resources/engine.js:37) at jdk.nashorn.internal.scripts.Script$\^eval\_.runScript(<eval>:1) at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:527) at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:204) at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:395) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:535) ... 5 more REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- package java8scripting; import java.util.logging.Level; import java.util.logging.Logger; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; public class Java8Scripting { public static void main(String[] args) { try { ScriptEngineManager factory = new ScriptEngineManager(); ScriptEngine engine = factory.getEngineByName("JavaScript") ; engine.eval("importClass(java.util.Vector) " + "print(\"Hello world\") ;"); } catch (Exception ex) { Logger.getLogger(Java8Scripting.class.getName()).log(Level.SEVERE, null, ex); } } } ---------- END SOURCE ----------

    JDK Bug System | 4 years ago | Nelson Dcosta
    javax.script.ScriptException: ReferenceError: "importClass" is not defined in <eval> at line number 1

  1. rp 1 times, last 5 months ago
  2. michallos 1 times, last 5 months ago
  3. eti22 1 times, last 6 months ago
  4. asdasd 24 times, last 7 months ago
  5. rexgreenza 8 times, last 8 months ago
2 more registered users
93 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. java.io.IOException

    Cannot run program "/home/gijs/.PlayOnLinux-5/engines//wine//upstream-linux-x86/1.8.6/bin/wine" (in directory "/home/gijs/.PlayOnLinux-5/wineprefix/Notepad++/drive_c"): error=2, No such file or directory

    at java.lang.ProcessBuilder.start()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    1 frame