这是一个网友的回答,觉得很有用。记下,备忘。
Easy as pie: (Netbeans 5.5)
right-click your project,
"set main project",
select your project,
"File",
"PROJECTNAME Properties",
"Run",
set your main class,
"Libraries",
"Add JAR/Folder",
select your wanted libs,
do a CLEAN build,
enter the build-path,
enter /dist and be amazed --> DONE!
No Modifications/Hacks/buggy DiY-IDE´s, no cry
Easy as pie: (Netbeans 5.5)
right-click your project,
"set main project",
select your project,
"File",
"PROJECTNAME Properties",
"Run",
set your main class,
"Libraries",
"Add JAR/Folder",
select your wanted libs,
do a CLEAN build,
enter the build-path,
enter /dist and be amazed --> DONE!
No Modifications/Hacks/buggy DiY-IDE´s, no cry