I used Java, C, C++, Smalltalk, Algol and various assemblers in my professional life. The reason for choosing a specific language varied depending on what other people were using and what interfaces I was working with. Like I said before you make a choice based on your own specific needs or preferences.
I've tested other popular languages by writing a simple number guessing game. I hope to do the sam in Java.
The main thing I have against Java is that it does not compile into an EXE type program but instead it has the .CLASS extension so I need to type Java and the name of program.class to run my program. This make C# more attractive to me. However I'm going to see if there are programs that can convert a .CLASS Java program into an .EXE file.
I do like the way the main Java program can call other .CLASS files when needed and access variables without any problems.
But is Java good for writing Window desktop programs which seem to dominate the market?
The problem I have is in finding a way to double click on a Java compiled program when using Windows 8.1 operating system.
I'd like to create a program that has an icon I can put on my Windows desktop and click on it to run the program. Is this possible with JAVA? So far I've seen no way to do this.
The only way I know to run a JAVA program is java -cp . programname
Netbeans is simply an IDE which automates a lot of processes to create your application. Whatever it does I don't think it will produce what you think. To be honest you are largely wasting your time following this route. Just accept that Java has its own system and work with that. If you want true executable applications then switch to C++ or C#.
Last Visit: 21-Oct-20 12:05 Last Update: 21-Oct-20 12:05