2008年6月24日 星期二

System.getProperty

ex:
System.getProperty("java.library.path")

2008年6月18日 星期三

export jar on jbuilder 2007

(1) when export:
      choose src folder of each project
     check:
     Export all output folders for checked projects
     add directory entries

2008年6月17日 星期二

manifest

set main class for jar

syntax:
ex:
manifest.txt

Main-Class: test.MainApp

2008年6月16日 星期一

jar

when creating jar, the package directory is created according to your command
Hence, if you want the class in test package , you must use
jar  cvmf  manifest.txt  test 

If  test is in another directory , and you use
jar cvmf  manifest.txt  ../test
It will create test directory below  ..  directory,  so it can not find test/*.class