Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99032

How to add jar file in VS Code in my project?

$
0
0

I am trying to use VS Code to do a javafx project. I just figured out that javafx isn't built in in Java 13.(However, I remember that it is included before?)

So I download the javafx sdk and try to add the jar files into my project. I have added codes like<classpathentry kind="lib" path="lib\javafx-swt.jar"/> into the .classpath file. And the Java Dependencies also shows the included jar files. However, when I compiled the program it will show package does not exist. I'm wondering if I took any wrong step adding these jar files?

This is what my javafx code look like

The .classpath file and error message


Viewing all articles
Browse latest Browse all 99032

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>