Questions tagged as 'jdk'

1
answer

Identify Java version of JDK

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); fw.append(code.getText()); fw...
asked by 30.05.2018 / 05:58
2
answers

How to install JavaFX?

I'm a Linux user (Fedora Workstation 26) and I'm trying to develop an application in JavaFX using Netbeans as IDE, the problem is that I did not find the JavaFX SDK for linux download, and the official download link in Oracle page has been disab...
asked by 11.10.2017 / 14:11
1
answer

Relationship between HotSpot and JVM, JDK / OpenJDK?

What is Java HotSpot and what is its relationship to JVM and JDK / OpenJDK?     
asked by 07.08.2017 / 15:56
1
answer

Error installing Jboss forge

I'm trying to install forge on my machine (windows 10) via prompt. however when executing the command:    C: \ Users \ Leonardo \ Desktop \ forge-distribution-2.20.1.Final-offline \ forge-distribution-2.20.1.Final \ bin \ forge T...
asked by 29.11.2015 / 19:11
2
answers

Is it possible to switch between JDKs in Netbeans working in a Maven web project?

I'm working with java7 but now I have other Maven web projects that were built for the java8 platform, I'm using Netbeans 8.0.2. Before when I created only the java web project (not Maven), I have 2 JDK s, 7 and 8 pr...
asked by 04.09.2015 / 14:45
1
answer

The difference between the ClassPath environment variable and the project .classpath files in JAR

When we install the JDK, we create an environment variable called CLASSPATH, which has the value JAVA_HOME, which in turn has the jdk address, which contains all Java development libraries, correct? > This is for the Java compiler to find the...
asked by 10.10.2017 / 03:07
1
answer

Eclipse Installation

Can anyone share an updated Eclipse installation and configuration manual, and in this manual have the steps for configuring the environment variables so I can compile and run the projects?     
asked by 06.06.2017 / 13:18
2
answers

JConsole: Java Monitoring and Management Console

   JConsole Hello, I read that this tool monitors JVM processes. However, when executing the tool this form appears (see image). As for these parameters, what do they mean? I do not remember configuring them when installing Java.     
asked by 08.09.2016 / 21:13
1
answer

Eclipse 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 error:    use lambda expressions are not supported in -source 1.5 (use -source 8   or higher to enable lambda expressions) The detail is that I'...
asked by 07.09.2016 / 19:34
2
answers

Can I use tools.jar in the ClassPath of my Java project?

I would like to know if you have a problem, since it is part of JDK, or even if it is necessary.     
asked by 07.01.2016 / 13:04