Can java programs be built in a way such that when installed they appear in the start menu of windows or the applications menu of ubuntu?
Printable View
Can java programs be built in a way such that when installed they appear in the start menu of windows or the applications menu of ubuntu?
For the windows start menu.
Those items are shortcuts to an app. You can create a short cut that starts the java app and put it in the windows start menu.
I don't know how you're doing the install.
Im installing by double clicking. Bluej for example installs in a directory in ubuntu and you have to navigate to it to start instead of just showing up in the application menu.
-Bayan-
Sorry, I thought you wanted to write and package that when installed would put itself into the start menu.
You seem to be saying that you are installing someone else's program.
On Windows, to get it into the start menu, create a shortcut and move that short cut into the start menu.
I don't know how to do it in ubuntu.
It should already be in the menu once installed unless the program wasn't written like that. If you don't see it you can just navigate to the path you installed it /usr/myName/Programs is where I put my stuff. You should be able to right click on on the shell script that runs the program and pin to menu. (I'm booted into Windows at work so I'm going off memory so this may not work)
It's fairly easy not sure why you are having such trouble just open installation directory and double click icon as said in other post. If you are having trouble then you can install a freeware version on ms dos and can run command using program.exe.
hi bayan,
you are talking about the installation of java.
here is an approach may match your requirement;
1. make exe running file from java class
in most of time, we start java program simply by run a script like .bat file. you need a exe file to excute your java program, exe4j is such a tool to make a exe file.
Java Exe Maker - exe4j
2. Inno Setup can give you the feature to make your java .exe file appear in the start menu of windows.
http://howtojava.org/images/innosetup.jpg
Inno Setup