Questions tagged [classpath]

10 questions
10
votes
2 answers

How to print the default java classpath from the command line in windows

I'm doing some trouble-shooting which requires me to know the default classpath under windows. There's java code which will do this (e.g. http://dev-answers.blogspot.com/2006/06/how-do-you-print-java-classpath.html), but I would really like to see…
3
votes
1 answer

How do I install PDFBox on mac?

I'm new at this area and I would like to get help from you guys. The problem is that I have no idea how to start or where. I'm trying to install PDFBox on a mac computer for this project I'm doing. So the question is: Where do I start and where can…
1
vote
0 answers

Visual Studio Code can't find my main class

Everything was working fine yesterday. I've re-run some old stuff I wrote for class that worked fine, thinking maybe I made an error in my new assignment and just couldn't find it with the same results. It looks like the classpath is wrong,…
1
vote
0 answers

Error while cloning "Milo" Project from GitHub

i want to clone and Build Milo Project from https://github.com/eclipse/milo I get various errors: error calculating classpath for project mavenproject The project was not built since its build path is incomplete The type…
Enomine
  • 11
1
vote
0 answers

Reducing Java classpath in Eclipse Oxygen

I'm having problems with Eclipse Oxygen 4.7.3a when running Java JUnit tests. When trying to launch a test suite with JUnit run configuration, I get the following error: Exception occurred executing command line. Cannot run program…
0
votes
1 answer

Adding a jar file to CLASSPATH is still not executable

Perhaps I just don't understand how the whole CLASSPATH environment variable works when trying to find .jar files on your system. I thought if you specified it, you could launch .jar files with java in much the same way that you can launch…
0
votes
1 answer

Classpath reading in Linux

$ $CLASSPATH $ $ source .profile $ $CLASSPATH > bash: :/usr/java/connectors/mysql-connector-java-5.1.23-bin.jar: No such file or directory $ /usr/java/connectors/mysql-connector-java-5.1.23-bin.jar > no main manifest attribute, in…
James Bone
  • 111
  • 5
0
votes
1 answer

tdbloader on Cygwin: java.lang.NoClassDefFoundError

I'm trying to use tbdloader on Cygwin (Windows 7 with the latest Java installation). This is the tbdloader documentation: http://jenawiki.hpl.hp.com/wiki/TDB/Commands This is the wrapper script I'm using to call tdbloader on my…
Mulone
  • 2,213
  • 3
  • 15
  • 10
0
votes
1 answer

red5 Install on Ubuntu 10.04? Problems with libslf4j

I've been trying for many days to get Red5 to install on Ubuntu 10.04. I finally managed to get red5.sh to stop hanging a few seconds in but now I'm getting the following error: Setting default logging context: default Exception in thread "main"…
0
votes
1 answer

Not sure what windows Path command is doing?

So I'm not sure exactly what this command is doing - it looks like it was set up edit the path variable. I need to run it for a class. Unfortunately it's not well documented so I want to make sure: will this mess up my PATH variable? If so, how do…
dluxcru
  • 375