Most voted "jdk" questions
32 questions
Sort by count of
-
6
votes1
answer604
viewsIdentify JDK version from Java
I am creating an IDE and when the user presses to run the code I do the following: try { File file = new File(arquivoSelecionado.nome); try { FileWriter fw = new FileWriter(file);…
-
4
votes2
answers1210
views -
2
votes1
answer508
viewsError installing Jboss Forge
I’m trying to install the forge in my machine (windows 10) via prompt. but when executing the command: C: Users Leonardo Desktop Forge-Distribution-2.20. 1.Final-offline Forge-Distribution-2.20.…
-
2
votes1
answer115
viewsRelationship between Hotspot and JVM, JDK/Openjdk?
What is Java Hotspot and what is its relationship with JVM and JDK/Openjdk?
-
2
votes1
answer1911
viewsHow to switch between Java 8 and 11 on Ubuntu?
I made a few days ago the transition from Windows 7 to Ubuntu 18.04 LTS, and had some difficulties in the process. Well, let’s get to the details. I installed JDK 11 through the following command:…
-
2
votes0
answers98
viewsWhat is the difference between JVM, JRE and JDK
I have been researching and still do not understand very well the difference between them, mainly between the JRE and JDK. The JVM would be like the heart of Java, and besides I heard that it…
-
2
votes2
answers811
viewsOracle JDK 8 is NOT installed
Good evening, I’m having trouble installing java8 in umbuntu I have tried to delete all apt-get I have installed, and reinstall. I’m following this one…
-
1
votes2
answers186
viewsIs it possible to switch between Jdks in Netbeans working on a Maven web project?
I’m working with the java7 but now I have other projects Maven webthat were built for the platform java8, I’m using Netbeans 8.0.2. Before when I was just creating the web java project (not Maven),…
-
1
votes2
answers127
viewsCan I use tools.jar in the Classpath of my Java project?
I’d like to know if there’s a problem, since he’s part of the JDK, or even if it’s necessary.
-
1
votes1
answer337
viewsEclipse Maven | lambda | use -source 8 or Higher to enable lambda Expressions
Java Maven project in Eclipse neon (4.6.0), simply does not compile when using lambda. The mistake: use lambda Expressions are not supported in -source 1.5 (use -source 8 or Higher to enable lambda…
-
1
votes2
answers224
viewsJconsole: Java Monitoring and Management Console
Jconsole Hi, I read that this tool monitors JVM processes. However, when executing the tool appears this form (see image). As for these parameters, what do they mean? I don’t remember configuring…
-
1
votes1
answer1007
viewsEclipse Installation
Could someone share some updated Eclipse setup and configuration manual, and in this manual have the steps for setting up the environment variables so I can compile and run the projects?
-
1
votes1
answer1683
viewsThe difference between the Classpath environment variable and the . classpath files of JAR projects
when we install JDK, we create an environment variable called CLASSPATH, which has as its value the JAVA_HOME variable, which in turn has the address of jdk, which contains all libraries for Java…
-
1
votes1
answer5363
viewsInstall JDK 8, 9 or 10 on Ubuntu 18.04
Does anyone know another way to install java in Ubuntu 18.04. I tried java 8 and 10 and gave these errors: "The oracle-java10-installer package is not available, but is referenced by another…
-
1
votes0
answers1168
viewsProblem with Spring Tools Suite
I am starting my studies with Spring and downloaded the Spring Tool Suite version 3.9.4. to develop java web applications. I had previously installed JDK version 8. I am using Ubuntu 18.04. Given…
-
0
votes1
answer139
viewsHow to install an old version of JDK in windows 7?
I already have some versions installed on the machine, 1.7 and 1.6. Now I need to install version 1.5, but when I try to install an error occurs, talking to uninstall the versions I have of java…
-
0
votes1
answer2454
viewsIntellij IDE Can’t find JDK
It already enters a standard java directory in /usr/lib/jvm/ but cannot find jdk in any folder within this directory…
-
0
votes1
answer128
viewsError starting Android Studio after update
Hello, I was using Android Studio normally until the IDE asked me to update and that’s what I did. However after the update I received the following error: "No JDK found. Please validate either…
-
0
votes1
answer92
viewsJDK tools.jar
I am using the tools.jar of the JDK (more specifically Attach) in an application, however, according to my research the tools.jar cannot run in a JRE environment "because it depends on the JDK". Is…
-
0
votes2
answers1979
viewsEclipse caught on the screen Workspace Laucher
I haven’t been able to open the Eclipse for a few days after installing the JDK 8. The selection screen of Workspace lock and I can’t do anything. I just installed the JDK 8, I just unpacked a new…
-
0
votes0
answers220
viewsNetbeans error starting Tomcat. "Error: Unable to locate or load the main Tomcat Files class"
I’ve had this problem for days. On two other machines with the same operating system, the same installation procedure was done and no error occurred. I’ll be attaching print with the bug. I have…
-
0
votes2
answers664
viewsError trying to run Eclipse: Java was Started but Return Exit code =13. PATH IS CORRECT
I deleted versions previous to Java 8 and now the eclipse does not want to run, the following error message appears: " Java was Started but Return Exit code =13.": There’s a similar topic: I’ve done…
-
0
votes1
answer57
viewsjavahome installer argument (PSSAV)
Hello, good night, good night! I am in need of installing PSSAV for a college exercise. However it presents the dialog box below: I happen to be with JDK version 8. The information that I can…
-
0
votes1
answer167
viewsHow does JVM, Java, JDK and JRE work?
Java can compile to .exe? Does every operating system, such as Windows, Macos, Linux, etc. already come with JVM installed to interpret the program made in Java? Or when compiling the program b.exe…
-
0
votes1
answer268
viewsjEnv alternatives for Windows
Currently use jEnv for switching between Jdks on different client projects, but this tool is only for Linux/Unix/Mac OSX. With it, I can easily within each project configure the use of JDK 8.11.14…
-
0
votes1
answer146
viewsMigration from Java 8 to 13
Someone can help me what needs to be done to migrate a ready-made project developed with Java 8 and spring boot to Java 13. My POM code is this below <?xml version="1.0" encoding="UTF-8"?>…
-
0
votes0
answers358
viewseclipse does not recognize jdk 9, 11 or 14 (Target is not a JDK root. System library was not found.) windows 10
I’m trying to test JDK9 with Eclipse (version 2020-09 M3 (4.17.0 M3) and also tested with Oxygen Release (4.7.0)) on Windows 10. I installed jdk with the installer for windows…
-
0
votes0
answers15
viewsEclipse 2018-09(4.9) does not create java files in openSUSE Leap 15.2
I installed the eclipse by Leap Discover, but after defining Workspace and creating a project, I tried to create a project java but only the options appear: file, Folder, project, Untitled Text…
-
-1
votes1
answer54
viewsProblem to run project
I can’t run my project from the bug "com.android.ide.common.process.Processexception: org.gradle.process.internal.Execexception: Process 'command 'C: Program Files Java jdk1.7.0_79 bin java.exe''…
-
-1
votes1
answer28
viewsProblems with Creating New Java Projects in Netbeans
The options for creating a new java project do not show the 'Java' option itself. The first option is Java Whith Maven as you can see. Among the available options or select Java Whith Maven the…
-
-2
votes3
answers461
viewsIs there a significant difference in performance when using Netbeans IDE with JDK 9 instead of JDK 8?
There is some significant difference in performance that justifies using Netbeans with JDK 9 instead of JDK 8? Briefly, I’d like to know if Netbeans performs better (lower memory consumption,…
-
-2
votes1
answer125
viewsDo I need to download JVM to run a java program on my PC since I’m not a developer?
Do I need to download JVM to run a java program on my PC since I’m not a developer, that is, I will only need JVM to run this program? Better yet, how do programs made in java run on people’s…