Start in SWT in Eclipse

xiaoxiao2021-03-06  102

Under the recommendation of DX, start to turn to the embrace of Eclipse. Use SWT in Eclipse, everything goes well, just set Libraries in Properties-> Java Build Path

Including SWT.jar. But when packaging as JAR files, encounter problems, you must add Main-Class: HelloWorld and Class-Path: SWT.jar

In addition, the method of the Copy Swt.jar to the JRE / lib / EXT directory is not. Maybe my ClassPath environment variable is not set.

转载请注明原文地址:https://www.9cbs.com/read-124361.html

New Post(0)