Java Properties File in Eclipse [duplicate] - java

This question already has answers here:
How to add a Java Properties file to my Java Project in Eclipse
(8 answers)
Closed 9 years ago.
That's basically it...How do I create it?? I've been trying to find it and googling for it but found nothing yet...maybe I'm just overlooking it...but I already got sort of desperate...

Right click in the file tree, new->File.
give it the suffix .properties and it will act as a properties file.

Related

What does it mean when the "out" folder in a project is highlighted in IDEA? [duplicate]

This question already has answers here:
What is the function of the "out" and ".idea" folder in Intellij?
(3 answers)
Closed 2 years ago.
Why is the out folder and all its content highlighted? Does it mean I did something wrong?
This is the project compiler output directory. The red color means that it is excluded directory in project. Files in excluded folders are ignored by code completion, navigation and inspection.
This folder is created when you're compiling your project and contains compiled classes.

How do I open a .class file? [duplicate]

This question already has answers here:
How do I "decompile" Java class files? [closed]
(19 answers)
Closed 5 years ago.
If I have a .class file, how do I open it/view the source code? I think I have to decompile it first, but how the heck do I do that?
Just drag the .class file into your ide and it should show you the contents of that file, or you can use this http://www.javadecompilers.com/ to decompile the .class file.:)

I use notepad++ to look javac's soure code,but when I open ,I just see something I can't understand [duplicate]

This question already has answers here:
Why is a .class file not human readable? [closed]
(5 answers)
Closed 7 years ago.
I open this file with ANSIC code,so how can I solve this problem?
That is not Java source code.
.class files are compiled Java binary class files.
.java files have the source code.
If you are looking for the source code of the Java compiler (javac), you can get that from OpenJDK. But it's a big and complex project.

write .exe file using Java [duplicate]

This question already has answers here:
Compiling a java program into an executable [duplicate]
(7 answers)
Closed 7 years ago.
In C/C++, the .exe file is automatically generated by the compiler when we run the code.
My question is how do you generate the .exe file in Java instead of just hitting run every time when we open up the .java file.
To do that, you'd need to create an Executable .jar file. Here's the instructions on how to do it.

Creating Java Exe [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How can I convert my java program to an .exe file ?
Hi,
How can i create an executable (EXE) from my Java program?
Thanks for your Help
JSmooth is another good option.
You can try using launch4j to create and executable wrapper:
http://sourceforge.net/projects/launch4j/

Categories