| Check classpath |
|
|
|
| Written by Charles | |||||
| Tuesday, 13 October 2009 18:35 | |||||
|
Sometimes you need to check what your classpath really is in Java. This is a simple way - placing the following as the first line of your entry point, which is the main method in an application. If you want to inspect other System properties you can use this
public static void main(String[] args) {
System.out.println(System.getProperty("java.class.path")); }
Only registered users can write comments!
Powered by !JoomlaComment 3.26
3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved." |
|||||
| Last Updated ( Tuesday, 13 October 2009 18:50 ) |



