Skip to content

thekid/jcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

jcp

Tired of compiling class paths manually (even using -cp lib/*)? Here are Java Class Path files...

Usage

Add a file called class.jcp to your project and within it, list each entry on a line by itself:

dist/
lib/org-json-b883a848a6.jar
lib/commons-cli-1.2.jar

Lines beginning with # are comments. Empty lines are ignored. Lines with a ! in front are prepended instead of added to the end of the class path.

Installation

Include the JCP shell script in your .bashrc:

. /path/to/jcp.sh

If you don't have the Java binaries in your path, you can set the JAVA_HOME environment variable to the JDK/JRE installation dir, e.g. /path/to/Java/jdk-7u17-windows-i586/.

Inspection

If you want to inspect the class path, type jcp.

About

Tired of compiling class paths manually? Here are Java Class Path files...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages