What is the purpose of the file (.exe) in Java programs?

Asked

Viewed 84 times

0

After a while creating desktop applications in Java, I was curious to research some professional applications. I saw that Netbeans and Minecraft were made in Java. But when I looked in the folders of these programs, I found the main file of the application with the extension (.exe), but as far as I know the Java executables have extension (.jar). Can anyone tell me if in Java it is also possible to create executables with extension (.exe), or for that you need another language (like C)?

1 answer

2

Good John Hudson... according to a report by a person called...

Computer Science - Jokerhat

Executable Programs (.exe)

EXE is the designation for a file with an internal and inaccessible source code that is only run on Windows, OS/2 or DOS platforms. A simple file that can have dependencies composed by Dlls (Dinamyc-Link Library).

There are several file types . exe that the Bill Gates platform has, variants with the computer architecture being 32 bit or 64 bit.

The . NET platform, which aims at the JAVA ideology, can generate . exe files with the building. But only run on a machine that has Windows system installed

Completion

According to Dr. Salina, make the . jar one. exe, we will be 'tying' platform since this file type runs only on windows operating system, and java has free feature being cross-platform. so that it runs on any platform as long as it respects its characteristics. I agree, in part, because if a system is free, it also fulfills the idea of making it what we want. When we create the . exe we close your code, this is the idea of proprietary systems and also 'dedicated'.

here is the reference link if you want to read the full article: https://novos-cientistas.blogspot.com/2011/11/java-criando-arquivos-executaveis-exe.html

Browser other questions tagged

You are not signed in. Login or sign up in order to post.