Results 1 to 7 of 7
  1. #1
    bayan is offline Member
    Join Date
    Apr 2010
    Posts
    55
    Rep Power
    0

    Default General Question about Java

    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?

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,617
    Rep Power
    25

    Default

    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.

  3. #3
    bayan is offline Member
    Join Date
    Apr 2010
    Posts
    55
    Rep Power
    0

    Default

    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-

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,617
    Rep Power
    25

    Default

    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.

  5. #5
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Location
    Houston, TX & Flint, MI
    Posts
    609
    Rep Power
    7

    Default

    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)
    Liberty has never come from the government.
    Liberty has always come from the subjects of government.
    The history of liberty is the history of resistance.
    The history of liberty is a history of the limitation of governmental power, not the increase of it.

  6. #6
    shaycorl is offline Member
    Join Date
    May 2010
    Posts
    5
    Rep Power
    0

    Default

    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.

  7. #7
    thomasdevos's Avatar
    thomasdevos is offline Member
    Join Date
    Feb 2010
    Posts
    19
    Rep Power
    0

    Default

    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.

    Inno Setup

    Quote Originally Posted by bayan View Post
    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?
    i hold 7 years develop exp. now i start a thread to share my knowlege about a j2ee project. welcome to participate.Study Java Through Real Java Project

Similar Threads

  1. general advice needed
    By mac in forum New To Java
    Replies: 1
    Last Post: 03-18-2010, 04:25 PM
  2. making a general tree
    By sAntA199 in forum New To Java
    Replies: 23
    Last Post: 12-04-2009, 11:10 AM
  3. general confused about java question (easy!)
    By sweetjava in forum New To Java
    Replies: 1
    Last Post: 08-09-2009, 03:03 AM
  4. Replies: 7
    Last Post: 12-16-2008, 07:44 PM
  5. General Discussion on Abstract
    By sanjeevtarar in forum Advanced Java
    Replies: 15
    Last Post: 05-06-2008, 07:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •