akeranen / the-one

The Opportunistic Network Environment simulator
Other
213 stars 199 forks source link

Fix: Replace deprecated -extdirs option with -cp in JDK 9+ #111

Closed Jxpro closed 1 year ago

Jxpro commented 1 year ago

This PR is to solve the following problem: In JDK 9 and above, the -extdirs option to specify additional class library directories is no longer supported. JDK 9 Release Notes: https://www.oracle.com/java/technologies/javase/9-relnotes.html

The following quote is from PR #97

issue related:

And the -cp option is also compatible with jdk8, as shown in the figure:

image
akeranen commented 1 year ago

Thank you! I think it's about time we address this issue.

adalberto1986 commented 1 year ago

I would like to know if it is possible in the one to simulate with drones, and what would be the settings