Quantcast
Channel: How do I import jars into my java program? - Stack Overflow
Viewing all articles
Browse latest Browse all 14

Answer by RaskolnikOFF for How do I import jars into my java program?

$
0
0

I faced the same problem during work on this course, but for windows. I'll leave this comment here in case it will help somebody.

If you use DrJava you don't need any import statements in code. If you followed installation steps described in course, everything is configured for you.

But here can be a problem - it puts jar files in your current user directory, path to which can contain inappropriate symbols(russian letters in my case). You need to check it in Edit -> Preferences menu. You can see there algs4.jar and stdlib.jar paths. Make sure that this path are correct and point to real existing files.

I just moved all necessary files to another dir and changed paths in this menu. It solved this problem for me.


Viewing all articles
Browse latest Browse all 14

Trending Articles





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