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

build.sh classpath error (could not find org.junit.runner.JUnitCore) #1

Open
tobyweston opened this issue Jan 27, 2020 · 0 comments
Open

Comments

@tobyweston
Copy link
Member

tobyweston commented Jan 27, 2020

Running on mingw, you get the following error:

$ java -cp "lib/*:target" org.junit.runner.JUnitCore
Error: Could not find or load main class org.junit.runner.JUnitCore

https://docs.oracle.com/javase/8/docs/technotes/tools/windows/classpath.html and https://docs.oracle.com/javase/8/docs/technotes/tools/unix/classpath.html say the path separator for the -cp argument is semi-colon (;) not colon (:) but travis seems happy enough with the full colon.

Need to test on a variety of OS before updating to semi-colon.

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