Hi,
To run a jmonkey program, the following line is used from a command window:
java -Djava.library.path="C:\projects\jme\lib" HelloWorld
The following error generated when used in the interactions window:
> java -Djava.library.path="C:\projects\jme\lib" HelloWorld
Error: Bad left expression in assignment
I tried adding the following to .drjava:
jvm.args = -Djava.library.path=c:\\projects\\jme\\lib
but received a runtime error:
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
Any help would be greatly appreciated
Ken
Logged In: YES
user_id=1060117
Originator: NO
"java foo.Class" in the Interactions pane is not a command-line invocation. It's just a shortcut for invoking "foo.Class.main()". Hence the error you get when trying to use command-line options.
To change the arguments used to run the Interactions pane, got to "Edit -> Preferences -> Miscellaneous" and put your arguments in the "JVM Args for Interactions JVM" field.
We don't have much experience dealing with native code and the "java.library.path" setting. So I think the above will solve your problem, but please let us know how it goes.