I have jEdit.app in /Applications folder.

I created a symbolic link in /usr/bin like this:
ln -s /Applications/jEdit.app/Contents/MacOS/jEdit /usr/bin/jedit

When i typed jedit on command line after this i get the following error:

[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(JavaAp plicationLauncher.java:61)

any help ?