
What are the subdirectories after jdk installation?
The subdirectories after jdk installation include jdk\bin (executable file directory), jdk\lib (class library directory), jdk\jre (the root directory of the Java runtime environment), jdk\demo (some examples that come with jdk) , jdk\include (c header file), etc.
Apr 18, 2020 am 10:55 AM
How to write java program
How to write a java program: first open notepad and enter the code "public class helloworld{...}"; then save the file name as "HelloWorld.java"; then open the cmd command window and enter the command "javac HelloWorld" that is Can.
Apr 11, 2020 am 10:19 AM
How to set up java
How to set up java: first right-click "My Computer"; then select "Properties" - "Advanced System Settings" - "Advanced" - "Environment Variables"; then add three system variables, namely "JAVA_HOME, PATH, CLASSPATH"; finally save the settings.
Apr 11, 2020 am 09:31 AM
Solution to garbled characters in java
Solution to garbled characters in java: first add the code "<%@ page language="java" charset=UTF-8">" at the beginning of each page; then copy the "TOMCAT" installation directory to "webapp/filters" That’s it.
Apr 11, 2020 am 09:20 AM
What to do if java base64 is garbled
The solution to java base64 garbled code: first modify the front-end page, the code is "var sendData={...}"; then set the encoding of the background file, the code is "URLDecoder.decode(Encodes.decodeBase64String)".
Apr 07, 2020 am 09:51 AM
The difference between java and java web
The difference between java and java web: 1. Java generally refers to JavaSE, which is "Java Standard Edition", the standard version of Java, which is generally used to develop desktop applications; 2. JavaWeb belongs to the JavaEE field, which is the enterprise version of Java.
Apr 05, 2020 am 10:00 AM
What to do if java utf-8 garbled characters
The solution to java utf-8 garbled code: first write the code "<%@ page language="java" contentType="text/html; charset=utf-8"..." in the header of html; then modify the garbled project file attributes Just modify it.
Apr 05, 2020 am 09:32 AM
Java implements double to retain two decimal places after the decimal point
The method for Java to realize double retaining two decimal places after the decimal point is: 1. Rounding, for example [d = (double) Math.round(d * 100) / 100]; 2. %.2f, for example [String.format("% .2f", d)].
Feb 10, 2020 am 11:25 AM
How to determine whether long type characters are equal in java
The method for Java to determine whether long type characters are equal is: you can directly use the equals method for comparison, such as [if (obj instanceof Long){return value == ((Long)obj).longValue();}].
Feb 05, 2020 am 11:42 AM
Use the while statement to find the sum of odd numbers from 1 to 100 in java
The method to use the while statement to find the sum of odd numbers from 1 to 100 in Java is: 1. First define the variable i (initial value is 1) and the variable sum (initial value is 0); 2. Then use the while statement to make the judgment, for example [while(i<100){sum+=i;i+=2}].
Feb 05, 2020 am 09:50 AM
file.delete() in java cannot delete files
The solution to the problem that file.delete() in Java cannot delete a file is: 1. Close the relevant stream operation or process; 2. Pass [new file ("absolute path of the file")], and then execute [file.delete()] Just delete it.
Feb 04, 2020 pm 04:13 PM
How to call member variables and member methods of objects in Java
The method for objects in Java to call member variables and member methods is: 1. Call member variables: [Object name. Member variable]; 2. Call member methods: [Object name. Member method ()], such as [student.study() ] or [student.eat()].
Feb 04, 2020 pm 02:52 PM
What is the difference between Java reference and C pointer
The difference between Java references and C pointers is: 1. A pointer can change the value it points to at runtime. Once a reference is bound to an object, it cannot be changed and always points to the original object; 2. When the reference is declared, there is no Entity, does not occupy space, the pointer will be assigned a value only after it is used, otherwise no memory will be allocated.
Feb 04, 2020 pm 02:13 PM
Compiling java program under cmd prompts that the file cannot be found
The solution to the problem that the file cannot be found when compiling a java program under cmd is: 1. First open the folder where the java code is stored; 2. Then open the command prompt; 3. Then compile the java program, such as [javac hello.java]; 4. , and finally run the java program, such as [java hello].
Feb 03, 2020 am 11:49 AM
Hot tools Tags

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)
Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit
VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version
Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit
VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version
Chinese version, very easy to use
