You are not logged in.
I know that you can register mono with the kernel to interpret mono binaries. Is there any way to do that with java? I love java, but I find having to type java before commands to be annoying. Any ideas?
Thanks.
D. Moore
Offline
Probably you will not be satisfied with this solution http://aur.archlinux.org/packages.php?ID=1638
Offline
I think the most used approach is to use a shell script to start the jvm.
Offline
kfgz, that seems like a viable solution, but not quite what I was hoping for. I will probably look into it some more. Thanks.
Ramses de Norre, you wouldn't have an example of such a shell script so I know exactly what you mean, do you?
D. Moore
Offline
Uhm, quite simple:
#!/bin/sh
/usr/bin/java -jar /usr/share/yourApp/yourApp.jar
Just make sure to properly build the jar file (give it a manifest.mf file that contains the reference to the MainClass).
Offline
Well, thanks. If anyone else has suggestions, ideas or alternatives, please post.
Offline
Just found this quickly, looks like what you're after, http://wiki.archlinux.org/index.php/Bin … c_for_Java
Offline
HashBox, I've been looking for something exactly like that for years.
Thanks; I appreciate it.
D. Moore
Offline