current location:Home > Technical Articles > Java > Javagetting Started

  • Garbled characters appear when inserting Chinese data into mysql database in java
    Garbled characters appear when inserting Chinese data into mysql database in java
    The solution to garbled characters when inserting Chinese data into the "mysql" database in "java" is: 1. Check the default character set of the database and the character set corresponding to "database"; 2. Set the default character set of the entire database to "utf" -8"; 3. Use "utf-8" encoding when specifying "JDBC" transmission.
    Javagetting Started 4987 2019-11-25 10:32:00
  • How to classify IO streams in java
    How to classify IO streams in java
    Below, the java introductory tutorial column will introduce to you how to classify IO in java. The IO stream can be divided into input stream and output stream according to the flow direction; it can be divided into node stream and function stream according to the function; it can be divided into byte stream and character stream according to the operation unit.
    Javagetting Started 2565 2019-11-25 09:52:07
  • What are the methods to print one-dimensional array in java
    What are the methods to print one-dimensional array in java
    The methods for printing one-dimensional arrays in "java" are: first, you can use the traditional "for" loop to print; second, you can use the "for each" loop to print; finally, you can call "Array" class " toString()" method prints a one-dimensional array.
    Javagetting Started 3663 2019-11-23 16:40:23
  • Garbled characters are output in the java output statement
    Garbled characters are output in the java output statement
    The reason why the "java" output statement outputs garbled characters is that the "java" file is saved using "UTF-8" encoding, while the "javac" file is processed using the computer system encoding when compiling the file. The solution is: first store the "java" file in "GBK" encoding, and then compile and run it.
    Javagetting Started 4182 2019-11-23 16:17:29
  • 403 error when downloading java
    403 error when downloading java
    The reason for the 403 error when downloading "java" is: the error may occur due to proxy server, firewall or other network problems. The solution is to first remove any traces of the failed "java" installation by uninstalling "java", and then download and install the "windows" offline installer package.
    Javagetting Started 4632 2019-11-23 15:14:32
  • What are the common microservice frameworks in java
    What are the common microservice frameworks in java
    Common microservice frameworks in "java" include: 1. "Spring Boot", a microservice framework suitable for inversion of control and aspect-oriented programming; 2. "Jersey", this open source framework supports "java"'s "JAX- RS API"; 3. "Play" framework, which is modular and supports asynchronous.
    Javagetting Started 3507 2019-11-23 14:25:34
  • How to operate '--' in Java operator
    How to operate '--' in Java operator
    The symbol "--" in the "java" operator has an operation method such as: "int j = i--", which means that the original value of variable "i" is first assigned to variable "j", and then the value of variable "i" is subtracted. 1, or "int j = --i", which means first decrement the value of variable "i" by 1, and then assign the value of variable "i" to variable "j".
    Javagetting Started 3713 2019-11-23 14:13:03
  • The difference between jdk and java
    The difference between jdk and java
    The difference between "jdk" and "java" is: first of all, "jdk" is a free software development tool kit released for "java" developers, mainly used for compiling and debugging programs, while "java" is a widely used computer programming Language, widely used in enterprise-level "Web" application development and mobile application development.
    Javagetting Started 10956 2019-11-23 10:59:40
  • Reasons and solutions for 1603 error when installing java
    Reasons and solutions for 1603 error when installing java
    The reason for the 1603 error when installing "java" is that the environment variables for the previous installation of "java" still exist, causing "jre" to fail to be installed. The solution is: first you need to open the environment variables, delete the previously configured "java" variable, then restart the computer, and reinstall "java" to configure the environment variables.
    Javagetting Started 16485 2019-11-23 10:44:20
  • Reasons and solutions for Java installation failure
    Reasons and solutions for Java installation failure
    The reason why java installation fails is: the "JDK" environment does not correspond to the operating system or the installation directory is wrong. The solution is: first make sure that the downloaded "JDK" environment corresponds to your own operating system, and then when installing the "JDK" environment, make sure that the installation path of "JRE" is not under the file path of "JDK".
    Javagetting Started 31458 2019-11-23 10:32:14
  • Java error: Reasons and solutions for failure to load main class
    Java error: Reasons and solutions for failure to load main class
    Java error: The main class cannot be loaded because the environment variable configuration is incorrect. The solution is: first open the environment variable setting, check and modify the value of the system variable, reopen the "cmd" window after the modification is completed, recompile and run the source program, and finally re-run the command "java Demo" in the original executable window. Can.
    Javagetting Started 6360 2019-11-23 10:00:04
  • Java system prompts that the specified file cannot be found
    Java system prompts that the specified file cannot be found
    The reason why the java system prompts that the specified file cannot be found is: the "uploadFiles" folder is missing in the directory. The solution is: 1. Manually create a folder named "uploadFiles" in the project directory; 2. Create a new folder under "web" and manually add an arbitrary file.
    Javagetting Started 3352 2019-11-22 15:57:05
  • How many bytes does a string occupy in java?
    How many bytes does a string occupy in java?
    In the string type in the Java programming language, one English character occupies 1 byte, while Chinese characters occupy different numbers of bytes depending on the encoding. Under "UTF-8" encoding, one Chinese character occupies 3 bytes; while using "GBK" encoding, one Chinese character occupies 2 bytes.
    Javagetting Started 8344 2019-11-22 15:39:33
  • What is '>>' in java
    What is '>>' in java
    The symbol ">>" in the Java programming language represents the right shift operator in the shift operator. The general format is: "value>>num", where "num" represents the specified value to be shifted, " value" represents the number of bits to move. For example: "num>>1", this code means: "num" divided by "2".
    Javagetting Started 10942 2019-11-22 15:28:21
  • The editor prompts that the java package does not exist
    The editor prompts that the java package does not exist
    The import program in the editor gives an error message: the java package does not exist. The reason is: there is an error in configuring the java package or the editor does not set the automatic loading package. The solution is: just configure the "folders" related settings directly in the "Importing" option.
    Javagetting Started 6263 2019-11-22 15:12:46

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28