Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Java shortcut image

  • 10-05-2008 1:39pm
    #1
    Registered Users, Registered Users 2 Posts: 538 ✭✭✭


    Hello i need a java shortcut or (a picture of a shortcut).
    It does not have to link to anything. Maybe u could tell me how to make one (what is its name e.g. word = .doc )
    thanks
    COD


Comments

  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    Huh - I am guessing you talking about Icons attached to shortcuts? - Perhaps a .ico - the actual icon for the shortcut or the actual shortcuts themselves - .lnk files.

    But what has this to do with programming besides having java in it.

    Little confused :)


  • Closed Accounts Posts: 17,208 ✭✭✭✭aidan_walsh


    OP, you might need to give us a clearer description of what you want to do.


  • Closed Accounts Posts: 3,285 ✭✭✭Smellyirishman


    Like the others, I'm not sure what you're looking for.

    How to create a shortcut to something?

    Or the extension on a java file? (Which is .java like it's .doc for word docs)


  • Registered Users, Registered Users 2 Posts: 538 ✭✭✭ComplyOrDie


    Sorry 4 being so vauge

    I am writeing up a user manual showing someone the steps involved in useing a java application which i have created. However to run the application you have to open the files in textpad compile them all and then run it. I do not know how to create a desktop icon that would automatically run the application- and i dont really need to because the project application was allready marked . I need a icon someone else has created for their own application... it does not have to work , i will be pretending it works. I can change the writing in fireworks to suit the name i would like to call it
    Hope this is more clear

    ComplyOrDie


  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    Ok what you do is create a batch file.

    Go to notepad and type java C:\myproject\classname - which is the compiled java file. AFAIK java is set to be an environmental variable so it should work from command prompt without giving location.
    Save this file to your desktop or where ever but not as a .txt - do it as a .bat (select all files too incase it goes myfile.bat.txt.

    Now you cannot change the icon on a .bat file afaik so you must actually create a shortcut to this. Then in the properties of the shortcut you can choose an Icon. You can find what ever icon you want on internet or even create your own- there are things to convert from jpg/gif/png to ico - even online ones.

    And there you have it - I take it this is what you want.

    Webmonkey


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,322 ✭✭✭Mad_Max


    If you dont need it to do anything, and your using windows just right click and click "New->Shortcut" point it at anything. Then change the image to what you want as mentioned above.


Advertisement