Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this tested in windows ? #37

Closed
stuaxo opened this issue Jun 17, 2014 · 1 comment
Closed

Is this tested in windows ? #37

stuaxo opened this issue Jun 17, 2014 · 1 comment

Comments

@stuaxo
Copy link

stuaxo commented Jun 17, 2014

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

@stuaxo
Copy link
Author

stuaxo commented Jun 17, 2014

Bah, was to do with my setup - possibly an incompatibility with the TCC shell..

@stuaxo stuaxo closed this as completed Jun 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant