You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed jdk in windows, with javac in the path, however it can't compile AboutKoans.java and complains with the following error:
*****************************************************************
Compile Output:
Cannot execute:
javac -d C:\Users\saxon\Downloads\java-koans-master\java-koans-master\koans\app\bin -classpath C:\Users\saxon\Downloads\java-koans-master\java-koans-master\koans\app\
lib\file-compiler.jar;C:\Users\saxon\Downloads\java-koans-master\java-koans-master\koans\app\lib\file-monitor.jar;C:\Users\saxon\Downloads\java-koans-master\java-koans-ma
ster\koans\app\lib\koans.jar;C:\Users\saxon\Downloads\java-koans-master\java-koans-master\koans\app\lib\util.jar; C:\Users\saxon\Downloads\java-koans-master\java-koans-ma
ster\koans\src\beginner\AboutKoans.java
Please check that the appropriate compiler (javac) is installed, is executable and is listed in your PATH environment variable value.
Compiling "C:\Users\saxon\Downloads\java-koans-master\java-koans-master\koans\src\beginner\AboutKoans.java" failed.
The exit status was: 2
*****************************************************************
java.io.FileNotFoundException: C:\Users\saxon\Downloads\java-koans-master\java-koans-master\koans\app\bin\beginner\AboutKoans.class (The system cannot find the path speci
fied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sandwich.util.io.classloader.DynamicClassLoader.loadClass(Unknown Source)
at com.sandwich.util.io.classloader.DynamicClassLoader.loadClass(Unknown Source)
at com.sandwich.koan.runner.RunKoans.constructSuite(Unknown Source)
at com.sandwich.koan.runner.RunKoans.safelyConstructSuite(Unknown Source)
at com.sandwich.koan.runner.RunKoans.runKoans(Unknown Source)
at com.sandwich.koan.runner.RunKoans.run(Unknown Source)
at com.sandwich.koan.constant.ArgumentType.run(Unknown Source)
at com.sandwich.koan.cmdline.CommandLineArgument.run(Unknown Source)
at com.sandwich.koan.cmdline.CommandLineArgumentRunner.run(Unknown Source)
at com.sandwich.koan.runner.AppLauncher.main(Unknown Source)
Exception in thread "main" java.lang.RuntimeException: java.lang.ClassFormatError: Truncated class file
at com.sandwich.koan.runner.RunKoans.constructSuite(Unknown Source)
at com.sandwich.koan.runner.RunKoans.safelyConstructSuite(Unknown Source)
at com.sandwich.koan.runner.RunKoans.runKoans(Unknown Source)
at com.sandwich.koan.runner.RunKoans.run(Unknown Source)
at com.sandwich.koan.constant.ArgumentType.run(Unknown Source)
at com.sandwich.koan.cmdline.CommandLineArgument.run(Unknown Source)
at com.sandwich.koan.cmdline.CommandLineArgumentRunner.run(Unknown Source)
at com.sandwich.koan.runner.AppLauncher.main(Unknown Source)
Caused by: java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at com.sandwich.util.io.classloader.DynamicClassLoader.loadClass(Unknown Source)
at com.sandwich.util.io.classloader.DynamicClassLoader.loadClass(Unknown Source)
... 8 more
The text was updated successfully, but these errors were encountered:
I just installed jdk in windows, with javac in the path, however it can't compile AboutKoans.java and complains with the following error:
The text was updated successfully, but these errors were encountered: