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

Explore the possibility of removing . from manifest class path #192

Closed
xuzhongxing opened this issue Jul 7, 2017 · 4 comments
Closed

Explore the possibility of removing . from manifest class path #192

xuzhongxing opened this issue Jul 7, 2017 · 4 comments

Comments

@xuzhongxing
Copy link

Adding . to class path implicitly could lead to mysterious class path problems. Consider the possibility of removing it.

@saudet
Copy link
Member

saudet commented Jul 7, 2017

If we do so, we would need a way to prevent beginners from getting confused between ';' and ':' when trying out simple examples on different platforms. Would you have ideas about how to resolve that another way?

@saudet
Copy link
Member

saudet commented Jul 8, 2017

Actually, this might be an additional area where a runtime API (pull #138) would come in handy.

@cypof Are you still planning to work on this?

@saudet
Copy link
Member

saudet commented Nov 10, 2018

It's done, I've removed "." from the class path!

I've upgraded the build process so it's now possible to compile and run classes from source this way with only a single command to make it easy for new users, without the need to have "." in the class path:

java -jar javacpp.jar NativeLibrary.java -exec

@saudet
Copy link
Member

saudet commented Jan 13, 2019

Now released in JavaCPP 1.4.4! Thanks for your patience

@saudet saudet closed this as completed Jan 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants