Topic: SWT的破解版补丁,在Linux下怎么运行?

  Print this page

1.SWT的破解版补丁,在Linux下怎么运行? Copy to clipboard
Posted by: elliott
Posted on: 2005-01-03 02:38

[root@localhost root]# ls
anaconda-ks.cfg install.log.syslog SWTDesigner_2.0.0_Keygen.jar
evolution Instantiations.license swt.ui.bat
install.log swing.ui.bat

[root@localhost root]# swt.ui.bat
bash: swt.ui.bat: command not found

[root@localhost root]# ./swt.ui.bat
./swt.ui.bat: line 1: start: command not found

[root@localhost root]# ./SWTDesigner_2.0.0_Keygen.jar
bash: ./SWTDesigner_2.0.0_Keygen.jar: cannot execute binary file

2.Re:SWT的破解版补丁,在Linux下怎么运行? [Re: elliott] Copy to clipboard
Posted by: kavinwang
Posted on: 2005-01-03 09:40

^_^,java -jar SWTDesigner_2.0.0_Keygen.jar试试!

3.Re:SWT的破解版补丁,在Linux下怎么运行? [Re: elliott] Copy to clipboard
Posted by: elliott
Posted on: 2005-01-03 14:59

[elliott@localhost swt.designer.pro.2.keygen]$ java -jar SWTDesigner_2.0.0_Keygen.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout

[elliott@localhost swt.designer.pro.2.keygen]$ java -jar SWTDesigner_2.0.0_Keygen.jar swtdesigner.keygen.SwingUI
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout

还是不成。。。

4.Re:SWT的破解版补丁,在Linux下怎么运行? [Re: elliott] Copy to clipboard
Posted by: kavinwang
Posted on: 2005-01-03 18:00

保证你的swt.jar在你的运行的classpath中,同时可能需要提供-Djava.library.path参数来指定你的swt的运行支持库,一般为.so,windows下为.dll

建议你使用http://www.cjsdn.net/post/view?bid=46&id=130851&sty=1&tpg=1&age=30提供的补丁。


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923