Hi
Thanks for that. I think I have nearly got it to work! When I enter it in the command prompt and press the enter key the command prompt gives the following error message:
Exception in thread âmainâ java.lang.NoClassDefFoundError: Documents
I have checked the path and the spellings several times and cannot see what is wrong with it. But this is not what really bothers me because running a program using the command prompt is not really what my aim is here anyway. I only wanted to do it in the hope of gaining a better understanding of these things.
What I should have said is what I really want is to make an application program written in java that I can sell over the net. A client must be able to download my application over the net to their desktop and when they double click the icon for it, just like when you double click any icon on your desktop, this automatically causes the application to open and run. Obviously, when a client doubles clicks the icon, I donât want any IDE to open nor do I want the client to have to run it by explicitly using any âcommand promptâ. I have heard that many applications sold over the internet are written in java (compiled to byte-code), so surely it is possible to arrange to set one of my applications written in java to automatically run in response to its icon on the desktop being double clicked and without any IDE or command prompt, isnât it? If any one can tell me how to do this I would be most grateful.
:)Andrew Hamilton
|