indeed. thanks to Mac OS X's schizophrenia, aliases are not
recognised as links by Terminal, and links are not recognised by the
Finder as aliases.
i got a different error trying to launch the java application stub
directly from the command line --
[JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading
MRJApp.properties file
[JavaAppLauncher Error] CFBundleCopyResourceURL() failed while
getting Resource/Java directory
[LaunchRunner Error] No main class specified
[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
Exception in thread "main" java.lang.NullPointerException
at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at
apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)
mainly i think because it can't locate the bundle, despite the fact
that the executable is inside it. is this a bug?
Apple regards Terminal users as second class citizens anyway ;-)
Hi,
(Apologies if this is offtopic for the list)
I am looking for a simple way to open a file in a running java app.
I have a java application (oXygen XML editor). I have found that I
can open a file in a running instance of oxygen like so:
I tried to create a soft link the JavaApplicationStub in my home
dir, but the system does not recognize it as a file. Is there some
way I can alias the longish path so I can do something like (while
in my home dir):
$ oxy /path/to/file.xml
thanks for any tips,
-Rob
p.s. any tips on a better forum to post a question like this is
appreciated too
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden