Java FAQs Summary (ii)

Source: Internet
Author: User

1. After configuring the Java environment variables, you still cannot use Java commands.

Workaround:

    1. If this problem occurs with the WINDOWS10 system, it is because the individual WINDOWS10 system does not recognize the "Java_home" environment variable and changes all "%java_home%" in path to the true folder path of the JDK.
    2. The environment variable is configured incorrectly. Carefully check that the JDK folder address is correct.
    3. The JDK is not installed properly, please reinstall it.

2. The correct Java code cannot be run on the console
Java files can be compiled with the Javac command, but cannot be run with Java commands.

Workaround:
If you are using a WINDOWS10 system, you may be able to run Java files into other drive characters because the system security permissions are too high to allow the Java virtual machine to operate on the C drive.
The commands to enter other drive characters are as follows: (for example, go to D-disk)

3. The Eclipse download page is not the same as the book
Workaround
Refer to the latest ". 6 Eclipse Downloads and use" Video:
Http://www.mingrisoft.com/video/712.html

4. Javadoc when generating the document: error-Unable to read input length = 1

Workaround:
You may not have selected any Java files that can be exported. The problem may be that the new version of Eclipse itself is problematic, without having to tangle with this feature, which is not Java technology, just the functionality that Eclipse provides, and can continue to learn.
5.32-bit JDK not found
Official online only JDK9, but JDK9 only 64-bit installation package, no 32-bit, how to do?


Workaround:
In the download main page, pull the page down to see the JDK8 version. The JDK8 has 32-bit installation packages.

If you want to download a lower version of the JDK, pull the page to the bottom, find the "Java Archive" tab, and click Download on the right.

6. Where are the resources for Java from Getting started to mastering (Project Case edition)?
Workaround:
Contact Customer service.
7, the JDK download page and the book, the video is different, where to go?
Workaround:
Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
8, (readers put forward a variety of problems that do not understand the programming vocabulary)
Workaround
Suggest readers direct Baidu this term
9. The following error occurred using eclipse

Workaround:
Re-under Eclipse
10, Java Basic Learning what ... Want to do software or games ...
Want to learn to play games and learn C #, then Unity3d

Java FAQs Summary (ii)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.