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

1.8JDK Can not run the one.Already compile #85

Open
DreaBettJ opened this issue Dec 26, 2019 · 3 comments
Open

1.8JDK Can not run the one.Already compile #85

DreaBettJ opened this issue Dec 26, 2019 · 3 comments

Comments

@DreaBettJ
Copy link

the exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/java/jdk1.8.0_152/jre/lib/amd64/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at java.awt.Toolkit$3.run(Toolkit.java:1636)
at java.awt.Toolkit$3.run(Toolkit.java:1634)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
at java.awt.Toolkit.(Toolkit.java:1668)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
at gui.DTNSimGUI.startGUI(DTNSimGUI.java:38)
at gui.DTNSimGUI.runSim(DTNSimGUI.java:101)
at ui.DTNSimUI.start(DTNSimUI.java:77)
at core.DTNSim.main(DTNSim.java:92)

@aliali787
Copy link

C:\the-one-1.6.0>javac -extdirs lib/ report/*.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

C:\the-one-1.6.0>javac -extdirs lib/ routing/*.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

C:\the-one-1.6.0>javac -extdirs lib/ gui/*.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

C:\the-one-1.6.0>javac -extdirs lib/ input/*.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

C:\the-one-1.6.0>javac -extdirs lib/ applications/*.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

C:\the-one-1.6.0>javac -extdirs lib/ interfaces/*.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

C:\the-one-1.6.0>one.bat

C:\the-one-1.6.0>java -Xmx512M -cp .;lib/ECLA.jar;lib/DTNConsoleConnection.jar core.DTNSim
Error: Could not find or load main class core.DTNSim

C:\the-one-1.6.0>

@Miloyym
Copy link

Miloyym commented Aug 4, 2020

@aliali787 Your JDK was not successfully installed. Or check the system variables, make sure that you have already configured %JAVA_HOME% path and add it into Path.

@DreaBettJ
Copy link
Author

DreaBettJ commented Aug 4, 2020 via email

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

3 participants