question: protected void addClassPath ( String classpath ) { if ( classpath == null ) return ; String sep = classpath . indexOf ( ";" ) == - 1 ? ":" : ";" ; String [ ] parseCp = classpath . split ( sep ) ; for ( String cpEntry : parseCp ) { addEntry ( cpEntry ) ; } }
target:  Add classpath with path separator. Separator can be ; or : For example: /usr/lib/mylib1.jar:/usr/lib/mylib2.jar:/usr/lib/mylib3.jar