jruby SWT MacOSX启动程序
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jruby SWT MacOSX启动程序相关的知识,希望对你有一定的参考价值。
#!/bin/bash # # This command is used to launch jruby SWT apps on MacOSX # The key to run SWT apps on MacOSX you must pass Java two arguments # arguments: # -J -XstartOnFirstThread # -J -Djava.library.path=/path/to/swt.jar/directory/ # # the -J option passes options directly to the java command # Set SWT_PATH to the directory that contains your swt.jar file # For instance my swt.jar file is located at /Users/jamie/lib/swt/swt.jar # So the SWT_PATH var will be: # SWT_PATH=/Users/jamie/lib/swt SWT_PATH="/path/to/swt.jar/directory" exec jruby -J -Djava.library.path=$SWT_PATH -J -XstartOnFirstThread [email protected]
以上是关于jruby SWT MacOSX启动程序的主要内容,如果未能解决你的问题,请参考以下文章
如何在一个单独的线程完成之前禁用 SWT selectionListener
Mac OSX(Eclipse Helios)上的 SWT 无效线程访问
jruby tomcat bundler aws——“解决需求”堆栈太深
org.eclipse.e4.core.di.InjectionException:org.eclipse.swt.SWTException: Widget is disposed