This question already has answers here:
How to avoid Visual Studio Code warning: "[myfile].java is a non-project file, only syntax errors are reported"
(11 answers)
Closed 12 months ago.
when i use vscode to run the java, i can run it successfully. However, the vscode appears this problem which confuses me
If you're using the "Extension Pack for Java" in vscode, just press ctrl+shift+p and look for "Java: Create Java Project" or follow this tutorial: https://code.visualstudio.com/docs/java/java-tutorial
Related
This question already has answers here:
How to generate Class Diagram (UML) on Android Studio (IntelliJ Idea)
(10 answers)
Closed 1 year ago.
so i have a big Android Studio Java project and i need to write an UML.
Because the project is big i would love to get an add on / software who will do it for me =)
tnx! =)
This answer shows you how to download the plugin and how to use it. Hope it's what you are looking for.
How to generate Class Diagram (UML) on Android Studio (IntelliJ Idea)
This question already has answers here:
How to build JARs from IntelliJ properly?
(23 answers)
Closed 3 years ago.
How can I creat a Jar File of my Java GUI code using Intelij, so I can run my programe and use it like other programes without opening the compiler ?
Can someone help me please ?
Here is the link to the same Question which was asked previously on StackOverflow.
How to build jars from IntelliJ properly?
This question already has answers here:
Where can I find the Java JDK source code? [closed]
(11 answers)
Closed 4 years ago.
Java has number of predefined methods, but where to find the source code of these methods ?
In the JDK folder, there will be src.zip
C:\Program Files\Java\jdk1.8.X_XXX\src.zip
If you want to see the source code of the Java Classes,
Open the Java Class -> Attach Source [If the source was not already attached] -> Point to the src.zip
Now the Source code for Java classes will be displayed in the editor
This question already has answers here:
How to set IntelliJ IDEA Project SDK
(2 answers)
Closed 4 years ago.
It shows I have no sdk, but I have installed java development kit already:
I am new in programming world.
You have to define your JAVA_HOME environment variable to tell the system where to find the SDK. This explains how to set this variable on Windows.
Additionally you should add $JAVA_HOME/bin (the binary directory of your Java SDK) to your path environment variable.
This question already has answers here:
Is the source code of native methods available?
(2 answers)
Closed 8 years ago.
Using eclipse, I see that methods like System.nanotime() or System.arraycopy() are native.
However I could not see the definitions of these methods.
Where are can I find the definitions , and more importantly what language are those methods written in ?
Install the Java SE Development Kit from http://java.sun.com/javase/downloads/index.jsp.
Once installed, you should find an archive called src.zip in the top of the JDK installation directory. The Java source code is in there.