Ubuntu next eclipse Java EE first Open prompt does not find JDK problem

Source: Internet
Author: User

Recently want to build a local server, convenient to write some network requests related to the demo, then downloaded the Eclipse EE version (Idea certificate is very expensive, do not want to buy-=-), download---decompression all normal, but when the terminal open eclipse when prompted not to find the JDK, WTF, my native Android studio is running, and you tell me I can't find the JDK?

Needless to say, the reason is that eclipse defaults to find the JDK in its own directory, but can not find the resulting error, one solution is to copy the JDK to eclipse, do not want to, pass.

Here is the method two:

cd {Eclipse directory}mkdir jrecd jreln-s {JDK directory}/bin bin

Instructions from the network, the real source is not clear where, in short, thank you first.

As a Linux slag, another search for the role of Ln-s this command.

The general usage is

sudo ln-s source file destination file

The role is to create a synchronization link to a source file in the destination file location, similar to a hyperlink under Windows.

To delete a link:

RM-RF   {Symbolic_name}

Symbolic_name refers to the target file name.

There are two types of links, one called hard links, and the other called Symbolic links (symbolic link). When a hard link is established, the linked file and the linked file must be in the same file system, and a hard link to the directory cannot be established. For symbolic links, there is no such problem. By default, LN produces a hard link.
In the case of a hard link, the "target" in the parameter is linked to [link name]. If the [link name] is a directory name, the system will create one or more linked files with the same name as "target" in this directory, the link file and the contents of the linked file are identical. If the [link name] is a file, the user will be told that the file already exists and is not linked. If more than one target parameter is specified, the last parameter must be a directory.
If you add the-s option to the LN command, the symbolic link is established. If the [link name] already exists but is not a directory, the link will not be made. A link name can be either a file name (which can contain a path) or a directory, and it is allowed to be in a file system other than "target". If the [link name] is a directory that already exists, the system will establish one or more files with the same name as "target" in this directory, which is actually a symbolic link file pointing to the original "target".

ln command part from http://www.cnblogs.com/perfy/p/5164430.html

Ubuntu next eclipse Java EE first Open prompt does not find JDK problem

Related Article

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.