473,383 Members | 1,837 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

How to run a program by 'clicking' on an icon

Hii, i was wondering if there is a way to run a java program by just double clicking on an icon
i have a program that i want to run on an old PC, and i dont want to download a compiler, just need to run the program without JCreator or the Command Prompt

Plz let me know if there is a way to do this
Thank you =]

-Enzo
Nov 16 '06 #1
3 1706
sivadhas2006
142 100+
Hi,

Try to create a jar file with Main-Class in the manifest file.

Regards,
M.Sivadhas.
Nov 17 '06 #2
I think it is possible. Just convert your java file into an exe. Then it is possible i think so

By,
P.Padmanabhan
Nov 23 '06 #3
alj
4
convert java file into an exe? i dont think so.. how? i think creating a jar file for that will do or in windows, create a batch file..
Nov 27 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: steve b | last post by:
I need to add a registry entry to internet explorer (I'm adding a right click menu item) with vb.net setup program. Anyone know how to do that? Thanks!
8
by: Chris Thunell | last post by:
I have created a VB.net windows forms application. If I have the program running and then I mistakenly click on my desktop icon again, I get a second instance of the program running. Is there...
6
by: Tony Ciconte | last post by:
There is plenty of VBA code around that allows you send email messages. Does anyone know where I can see a sample of VBA code or a technique that only opens the default email program and then waits...
2
by: Dave | last post by:
Can anyone tell me how to extract the resources, specifically the description and icons, from a .EXE file programatically. Basically I want to write a C# application that takes .EXE files and...
8
by: bole2cant | last post by:
When I add a Button to my NotifyIcon program I get the following: An unhandled exception of type 'System.NullReferenceException' occurred in unknown module. Additional information: Object...
0
by: Steve | last post by:
I've created a new VB 2005 project that I've been doing preliminary test installs for. In the development project, I've set the applications icon to an ico file. In the installation project I've...
4
by: needshade | last post by:
Platform : Windows XP Language : Visual Basic 6 Hi, I have a peculiar problem here. I created a VB6 program that during runtime when it is minimize, I can maxmise it by clicking my icon on...
4
by: Benjamin Hell | last post by:
Hi! I wonder whether there might be a way to find out how a Python program was started (in my case in Windows): By double clicking the file or by calling it on the "DOS" command line prompt. ...
15
by: Christian Blackburn | last post by:
Hi Gang, I have come across something that I wouldn't believe unless I'd seen it with my own eyes, a DOS program with an icon. Can someone tell me how to change the icon, my company no longer...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.