Eclipse use 64 bit java

(Free Web Tutorial)

In this tutorial you will install Eclipse SDK, create your first Java Project and then create the Java Cert project for the «Free Java Core & Certification Training Web Tutorial».

Prerequisites

  • Have a JDK installed.
  • This tutorial has been tested in the following environment:
    Date:
    10/19/2016
    OS:
    Win 10
    JDK:
    Java SE 8u111

Objectives

  • Install Eclipse SDK,
  • Create your first Java Project
  • Create a Java Project from an existing source.
    (Note: You will download all of the files for the Java Cert project for the «Free Java Core & Certification Training Web Tutorial» and setup a project.)
  • IDE — Interactive Development Environment
  • JDK — Java Development Kit
  • SDK — Software Development Kit

Eclipse Prerequisite

  • Java (VM) Settings
    • Note: I cover setting the «JAVA_HOME» & «Path» variable in my Java JDK Download Install Tutorial
    • Check #1: JAVA_HOME system variable
      Go to the DOS prompt
      Type: set JAVA_HOME
      Example results:
      JAVA_HOME=C:\_data\java\jdk1.8.0_111

    Type: java.exe -version
    Example Results: ( MAKE NOTE of the version and bit for Check #3)
    java version «1.8.0_111»
    Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

    Type: %JAVA_HOME%\bin\java.exe -version
    Example Results: ( MAKE NOTE of the version and bit for Check #3)
    java version «1.8.0_111»
    Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

    Type: javaw.exe
    Example Results:
    Returns nothing. No errors either.

    Type: javac.exe -fullversion
    Example Results:
    javac full version «1.8.0_111-b14»

    • Error: The system cannot find the path specified.
      Fix: Modify the «path» «System Variable» to include «%JAVA_HOME%\bin»

    Here are the two Java commands:
    Eclipse Java (system’s JRE): java -version
    Java JDK: %JAVA_HOME%\bin\java -version

    Eclipse Download

    • Prerequisites — JRE (Java Runtime Environment)
    • OPTIONAL Reference: Checksum hash values
      • Checksum hash values (md5, sha256) are given for each executable file you download so you can verify that the downloaded file has not been modified.
      • Checksum Hash Tutorial — has reference to online and installed tools you can use to verify the downloads.

      Note: SHA-512 Checksum hash
      There is a button for the SHA-512 checksum value if you want to verify the download.

      The essential tools for any Java developer, including a Java IDE, a Git client, XML Editor, Mylyn, Maven and Gradle integration.

      Tools for Java developers creating Java EE and Web applications, including a Java IDE, tools for Java EE, JPA, JSF, Mylyn, EGit and others.

      The essential tools for any JavaScript developer, including JavaScript language support, Git client, Mylyn and editors for JavaScript, HTML, CSS and XML.

      The essential tools for any PHP developer, including PHP language support, Git client, Mylyn and editors for JavaScript, HTML, CSS and XML.

      The essential tools for Java and DSL developers, including a Java & Xtend IDE, a DSL Framework (Xtext), a Git client, XML Editor, and Maven integration.

      Java EE tools and BIRT reporting tool for Java developers to create Java EE and Web applications that also have reporting needs.

      A complete set of tools for developers who want to create Eclipse plug-ins, Rich Client Applications or Remote Application Platform (RCP+RAP), plus Maven and Gradle tooling, and an XML editor.

      This package contains Eclipse features that support the software development quality assurance process, such as Jubula and Mylyn.

      Tools for C, C++, Fortran, and UPC, including MPI, OpenMP, OpenACC, a parallel debugger, and remotely building, running and monitoring applications.

      Eclipse Scout is a Java/HTML5 framework to develop business applications that run on the desktop, on tablets and mobile devices. (http://www.eclipse.org/scout)

      • Older versions of Eclipse:
        http://wiki.eclipse.org/Older_Versions_Of_Eclipse
        http://archive.eclipse.org
      • Eclipse Neon Documentation: http://help.eclipse.org/neon/index.jsp
        See:
        Workbench User Guide
        Java development user guide

      Eclipse Install

      • Install Eclipse
        • In Win Explorer, double click on the exe to run the install.
        • Select the product «Eclipse IDE for Java Developers»
        • Installation Folder:
          C:\_data\eclipse\java-neon — this is my choice that I’ll use for this demo.
        • Click the «Install» button.
          Click «Accept Now»
          Click «Launch»
        • Screen: Select a directory as workspace
          • Using Win Explorer create the following directory to be used as Eclipse’s workspace:
            C:\_data\eclipse\wsMyEclipseTutorial
            (Note: Defaults to: C:\Users\\workspace)
          • Back at the Eclipse launch screen.
            Workspace: C:\_data\eclipse\wsMyEclipseTutorial — this is my choice for this demo.
            WARNING: Do not check the box for: Use this as the default and do not ask again
            Reason: Mentioned below.
          • Click OK
          • In bottom right corner, leave checked — Always show Welcome at start up.
            Note: You can always display the «Welcome» screen by: Help, Welcome
          • If you do accidentally click the check box here is how you put the option back.
            Eclipse workspace steps:
            Windows, Preferences, expand General, expand «Startup and Shutdown», Workspaces
            Check: Prompt for workspace on startup.
            Choose 10 or your choice for: Number of recent workspaces to remember.
            (Optional: Windows, Preferences, in the box at top type «workspace».)
Оцените статью