How to shorten classpath?

What is classpath in java?

  • I'm trying to turn my jar into an exe with JSmooth. It wants me to put my classpath and then choose my main class. What do I put for classpath? I made my app with netbeans. There's my jar file and then the folders build dist nbproject src and test?

  • Answer:

    "classpath" means where your classes are, so just put your jar file there. This is also where you would put any extra libraries needed for compilation. (Other .jar files or directories with .class files)

Dave Z at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.