Eclipse – Change IDE’s JRE Version

Background

Really fumbling a lot here.

Trying to get the Hibernate Plugin to play well with Eclipse is becoming my fool’s errand.

Wifey

I did not know she had texted.  But, now I know as she is calling.

I could not reach for the phone in time.

But the text read, “When are you getting off work?“.

She is easy.

Her request is always around food.

This time it is pickup seafood. And, don’t forget they close at 9:30 pm.

 

Error Message

As I muddled my way around the Hibernate Wizards confronted with a fresh message.

It read :-

Image

window.hibernateConfigurations.01.20190506.0426PM

Textual

Project ‘helloDBHibernate03’ has higher compiler option than running EclipseHibernate plugins unable to load its classes.
Please decrease the compiler option or run the Eclipse with higher JDK level.

Explanation

I really like mouthful paragraphs that are easy to read and comprehend :-

  1. The error message states my current project’s compiler option is higher than Eclipse’s own JVM.
  2. As a result the Hibernate plugin can not be loaded
  3. To re-mediate
    • Change the project’s compiler option
    • Run Eclipse’s JDK Level

Lineage

I know that the issue is my changing my project’s JDK level.

That move is documented here :-

Eclipse – Changing Targeted JRE
Link

Remediation

I could revert the Project’s JDK level.

or try running Eclipse at a complementary JRE.

GUI

Wanted to do make the transition using the GUI.

But, could not find a way to do so.

Manual

Outline

  1. Ensure you have downloaded and installed the targeted JDK
  2. Configure Eclipse to use targeted JDK
    • Change needs to occur via eclipse.ini

Java Runtime

Java Runtime – v11

Artifact

JRE 11 is available here

artifact.jdk11.20190507.0933AM

Install

Installed JDK 11.

Review Install

The install is targeted at :-

java.install.folder.20190507.0936AM

Review Folder

Noticed :-

  1. Unlike earlier versions :-
    • Bundling
      • We do not have separate installs for JRE and JDK
      • We only have one JDK
    • Naming
      • Folder ( JDK versus JRE )
        • Previous ( < JDK 10 )
          • jre*
        •  New ( >= JDK 10 )
          • jdk*
      • Folder ( Decimal versus Whole)
        • Previous ( < JDK 10 )
          • 1.3
          • 1.8
        •  New ( >= JDK 10 )
          • 10
          • 11

Eclipse

Configuration File

Folder

Please access the eclipse folder

eclipse.winOS.folder.01.20190507.0930AM
eclipse.ini
Outline
  1. Backup eclipse.ini
  2. Modify the following entries
    • vm
      • original
        • -vm
          C:/Program Files/Java/jre1.8.0_181/bin
      • Revised
        • -vm
          C:/Program Files/Java/jdk-11.0.3/bin
    • vmargs
      • original
        • -Dosgi.requiredJavaVersion=1.8
      • revised
        • -Dosgi.requiredJavaVersion=11
    • add-modules
      • original
        • –add-modules=ALL-SYSTEM
          -Dosgi.requiredJavaVersion=1.8
      • revised
        • –add-modules=ALL-SYSTEM
          -Dosgi.requiredJavaVersion=11
Backup File

Please backup the eclipse.ini file.

It is the one we will be modifying.

File – Original

eclipse.revised.1.8.20190507.0953AM

File – Revised

eclipse.revised.11.20190507.0950AM

Validation

Outline

  1. Please restart Eclipse
  2. Use menu to access Eclipse About
    • The “Eclipse About” window appears
    • Please click the “Installation Details” button
    • Please access the “Configuration” Tab
    • The retrieving system Information message appears
    • Waited a few more for the Configuration details to appear

Configuration

v11

Image

jre.version.v11.20190507.1105AM

Text

-vm
C:/Program Files/Java/jdk-11.0.3/bin\server\jvm.dll

 

Dedicated

Life is good once you run into Amy :-

Amy DeGregorio
Baeldung
How to Fix java.lang.UnsupportedClassVersionError
Link

Eclipse – Changing Targeted JRE

Background

Playing around with Hibernate in Eclipse.

Discovered that the platforms supported are 1.8 and 11.

Wanted to switch between the two.

Hibernate

Compatibility Matrix

BTW, Hibernate’s Compatibility Matrix is available here :-

compatibilityMatrix.01.20190506.1250AM.PNG

 

How to do so

Outline

  1. Load Project
  2. Accessed the menu option Project/Property
  3. In the Property window, accessed the “Java Build Path” tab
  4. Access the Libraries Tab
    • Please choose the JRE System Library entry
    • Click the Edit option
  5. In the “JRE System Library” window
    • Execution Environment
      • Please review the “Execution environment” drop-down
        • In our case we chose JavaSE-11 ( jdk-11.0.3 )
  6. Build
    • Clean
      • Please access the Clean Window to cleanly build the project
      • This ensures that the project is cleanly built

Images

Image – Current

Image – Current – Java Build Path – Libraries

The current class path is JavaSE-1.8 ( jre1.8.0_181 )

properties.JavaBuildPath.JRE.1.8-01.20190506.0719PM.PNG

Image – Current – JRE System Library – JavaSE-1.8 ( jre 1.8.0_181 )

The current JavaSE-1.8 ( jre1.8.0_181 )

properties.JavaBuildPath.editLibrary.JRE.1.8-01.20190506.0717PM.PNG

Image – Current – JRE System Library

The Execution environment is JavaSE-1.8 ( jre1.8.0_181 )

properties.JavaBuildPath.editLibrary.JRE.1.8-01.20190506.0717PM.PNG

Image – Revised – JRE System Library – JavaSE-11 ( jre 11 )

Here we chose :-

  1. System Library
    • Execution Environment
      • JavaSE-11 ( jdk-11.0.3 )

 

JRESystemLibrary.ExecutionEnvironment.jdk-11.0.3.20190506.0402AM

Image – Build – Clean

Cleanly build project

project.build.clean.20190507.0310AM

Metadata

Outline

  1. Java’s Class Targeted JDK Version
    • javap

Java’s Class targeted JDK Version

javap

Syntax


javap -verbose [java-class-file] | findstr "major" 

Sample


"C:\Program Files\Java\jdk-11.0.3\bin\javap" -verbose bin\org\learningintheopen\sample\HelloWorld.class | findstr "major"

Output

Output – Major Version – 52

When built again JDK 1.8, we get major version of 52

java.1.8.20190507.0335AM

Output – Major Version – 55

When built again JDK 11, we get major version of 55

java.11.20190507.0336AM

Eclipse/Hibernate – Installation – Day/01

 

Outline

  1. Download & Install Eclipse
  2. JDBC Driver
    • Microsoft JDBC Driver
      • Download Microsoft JDBC Driver
  3. Configure Database
    • Microsoft SQL Server
      • Provision Database
        • WideWorldImporters ( Sample Database )
          • Restore Database
      • Provision Principal
        • Create SQL Server Principal
        • Grant Principal access to database
        • Grant principal access to database objects
  4. Configure Eclipse
    • Install Components
      • JBoss Tools
        • Hibernate

Tasks

Download & Install Eclipse

Please peruse this post per installing Eclipse :-

Eclipse IDE – Installation On MS Windows
Link

JDBC Drivers

Our database back-end is Microsoft SQL Server and so we will reach for Microsoft SQL Server JDBC Drivers.

Microsoft

SQL Server

JDBC Driver
Links
  1. Microsoft JDBC Driver for SQL Server
    Link
  2. Download Microsoft JDBC Driver for SQL Server
    Link
Available

Here are all the drivers available as of 2019-May-6th :-drivers.microsoft.jdbc.20190506.1231PM

We are on 7.0.

And, we will cover that in this post!

Database

Again, our database back-end is Microsoft SQL Server.  There are a few sample databases on that platform; the latest official is WorldWideImporters.

Microsoft

SQL Server

Worldwide Importers
Links
  1. SQL Samples
    Link
  2. Wide World Importers
    • Wide World Importers sample database v1.0
      Link
Brochure

Brochure

microsoft.sample.20190506.1246PM

Choice

We can go with traditional database backup files ( bak ).

Or with bacpac.

We chose :-

SQL Server 2016 SP1 (or later) Any Edition aside from LocalDB; SQL Server 2016 RTM (or later) Evaluation/Developer/Enterprise Edition
WideWorldImporters-Full.bak

Restore database

Launched SQL Server Management Studio and restored the backup file


USE [master]
go

exec master..xp_create_subdir N'C:\Microsoft\SQLServer\Datafiles\WideWorldImporters\'
go

exec master..xp_create_subdir N'C:\Microsoft\SQLServer\Logfiles\WideWorldImporters\'
go

RESTORE DATABASE [WideWorldImporters]
FROM  DISK = N'C:\downloads\Microsoft\SQLServer\Sample\WideWorldImporters\WideWorldImporters-Full.bak'
WITH
       FILE = 1
    ,  MOVE N'WWI_Primary' TO N'C:\Microsoft\SQLServer\Datafiles\WideWorldImporters\WideWorldImporters.mdf'
    ,  MOVE N'WWI_UserData' TO N'C:\Microsoft\SQLServer\Datafiles\WideWorldImporters\WideWorldImporters_UserData.ndf'
    ,  MOVE N'WWI_Log' TO N'C:\Microsoft\SQLServer\Logfiles\WideWorldImporters\WideWorldImporters.ldf'
    ,  MOVE N'WWI_InMemory_Data_1' TO N'C:\Microsoft\SQLServer\Datafiles\WideWorldImporters\WideWorldImporters_InMemory_Data_1'
    ,  NOUNLOAD
    ,  STATS = 5
    ,  REPLACE

GO
Create Database Account

Let us create SQL Server Account


use [WideWorldImporters]
go

/*
    SQL Server Principal - helloDB
*/
if suser_id('helloDB') is null
begin

    create login [helloDB]
    with password = 'Nu3Hu5RuSt'
       , DEFAULT_DATABASE = [WideWorldImporters]
       , CHECK_EXPIRATION = OFF
       , CHECK_POLICY = OFF

end
go

/*
    SQL Server Principal - helloDB
*/
if user_id('helloDB') is null
begin

    create user [helloDB]
    from login [helloDB];

end
go

grant select, insert, update, delete on schema::[Application] to [helloDB]
go

grant select, insert, update, delete on schema::[Purchasing] to [helloDB]
go

grant select, insert, update, delete on schema::[Sales] to [helloDB]
go

grant select, insert, update, delete on schema::[Warehouse] to [helloDB]
go

jboss.org

Available Software

In the Work With entry box, please enter :-

http://download.jboss.org/jbosstools/photon/development/updates

Once entered please click the “Add…” button

install.AvailableSoftware.02.WorkWith.20190505.0225PM.PNG

Add Repository

Please give a Name for the Repository we are adding.

In our case we chose jboss.

install.AvailableSoftware.03.WorkWith.20190505.0225PM.PNG

 

Check the items that you wish to install

Using Web Services, jboss.org is reached.

Available Items are returned and displayed.

install.AvailableSoftware.05.AddRepository.20190505.0228PM.PNG

Item – jBoss Data Services Development

We selected the following items :-

  1. JBoss Data Services Development
    • Hibernate Tools

install.AvailableSoftware.06.AddRepository.20190505.0229PM.PNG

Item – jBoss Data Services Development – Install Details

Please review the selected items :-

  1. JBoss Data Services Development
    • Hibernate Tools

install.AvailableSoftware.07.AddRepository.20190505.0230PM.PNG

 

Item – Review Licenses

Please review License Agreement

  1. License text(for Hibernate Tools 5.4.4.v20190328-1505)

 

Item – Review Licenses

Please review License Agreement

  1. License text(for Hibernate Tools 5.4.4.v20190328-1505)

Item – Installing Software

 

Item – Security Warning

Security Warning – The authenticity or validity of the software cannot be established

Even Hibernate.org is shipping software without SSL Certificates?

 

It is good, please click “Install anyway”.

Restart

Please restart Eclipse ID to effect the changes.

Restarted

Upon restart, we are asked to opt in for anonymous usage statistics.

Summary

Enough shenanigans for Day 01.

 

 

Eclipse – Data Source Explorer – SQL Server – Configuration ( Day 01 )

Background

Ran into a blocking issue while playing around with Eclipse.

The issue surfaced while trying to configure Hibernate to connect to SQL Server.

 

Data Source Explorer

I tried using the Hibernate Data Tools to connect to my back-end database; SQL Server in this case.

Finally gave up and wanted to see if I can reproduce the error using other data tools.

Process

Outline

  1. Perspective
    • Change to Data Development Perspective
  2. Driver Templates
    • Does Not Work
      • Microsoft SQL Server 2016 JDBC Driver
        • Specify a Driver Template and Definition Name
          • Driver Name :- Microsoft SQL Server 2016 JDBC Driver
          • Driver Type :- Microsoft SQL Server 2016 JDBC Driver
        • Tab :- JAR List
          • Removed
            • Removed sqljdbc.jar
          • Added
            • Added mssql-jdbc-7.0.0.jre10.jar
        • Tab :- Properties
          • Filled out properties tab
        • Tested Connection
          • Errors Out
            • java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    • Works
      • Microsoft SQL Server 2008 JDBC Driver
        • Specify a Driver Template and Definition Name
          • Driver Name :- Microsoft SQL Server 2008 JDBC Driver
          • Driver Type :- Microsoft SQL Server 2008 JDBC Driver
        • Tab :- JAR List
          • Removed
            • Removed sqljdbc.jar
          • Added
            • Added mssql-jdbc-7.0.0.jre8.jar
        • Tab :- Properties
          • Filled out properties tab
        • Tested Connection
          • Ping Successful
  3. Data Explorer
    • Review Data Explorer

Perspective

Database Development

Image

perspective.OpenPerspective.01.20190505.1033PM.PNG

Connection Profile

Driver Templates

Driver Templates – v 2016

Image
Image – Connection Profile

connectionProfile.01.20190505.1052PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – Name/Type

DriverTemplateAndDriverName.Tab.NameAndType.01.20190505.1059PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – JAR List – 01

DriverTemplateAndDriverName.Tab.JARList.01.20190505.1100PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – JAR List – 02

Removed sqljdbc.jar

DriverTemplateAndDriverName.Tab.JARList.02.20190505.1101PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – JAR List – 04

Added mssql-jdbc-7.0.0.jre10.jar

DriverTemplateAndDriverName.Tab.JARList.03.20190505.1121PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – Properties – 01

Review Properties Tab

DriverTemplateAndDriverName.Tab.Properties.01.20190505.1104PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – Properties – 02

Completed Properties Tab

DriverTemplateAndDriverName.Tab.Properties.02.20190505.1105PM.PNG

Image – Specify a Driver and Connection Details

Review Driver and Connection Details ….

connectionProfile.jre10.01.SpecifyADriverAndConnectionDetails.02.20190505.1118PM.PNG

Image – Ping failed!

Ping failed.

pingFailed.20190505.1120PM.PNG

Ping failed.

java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(JDBCConnection.java:327)
	at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
	at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
	at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96)
	at org.eclipse.datatools.enablement.msft.internal.sqlserver.connection.JDBCSQLServerConnectionFactory.createConnection(JDBCSQLServerConnectionFactory.java:27)
	at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
	at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
	at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
	at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Driver Templates – v 2008

Image
Image – Connection Profile

connectionProfile.01.20190505.1052PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – Name/Type

Please choose “Microsoft SQL Server 2008 JDBC Driver

ConnectionProfile.SpecifyADriverAndDefinitionName.Tab.NameAndType.01.20190505.1112PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – JAR List – 01

DriverTemplateAndDriverName.Tab.JARList.01.20190505.1100PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – JAR List – 02

Removed sqljdbc.jar

DriverTemplateAndDriverName.Tab.JARList.02.20190505.1101PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – JAR List – 03

Using the OS “Select the file” functionality reach for mssql-jdbc-7.0.0.0.jre8.jarpingSucceedded.20190505.1124PM.PNG.

DriverTemplateAndDriverName.Tab.JARList.SelectTheFile.03.20190505.1122PM.PNG

 

Image – Specify a Driver Template and Definition Name – Tab – JAR List – 04

Added mssql-jdbc-7.0.0.jre8.jar

DriverTemplateAndDriverName.Tab.JARList.04.20190505.1123PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – Properties – 01

Review Properties Tab

DriverTemplateAndDriverName.Tab.Properties.01.20190505.1104PM.PNG

Image – Specify a Driver Template and Definition Name – Tab – Properties – 02

Completed Properties Tab

DriverTemplateAndDriverName.Tab.Properties.02.20190505.1105PM.PNG

Image – Specify a Driver and Connection Details

Review Driver and Connection Details ….

connectionProfile.jre10.01.SpecifyADriverAndConnectionDetails.02.20190505.1118PM.PNG

Image – Test Connection

Tested Connection

pingSucceedded.20190505.1124PM.PNG

 

Issues

Java Runtime Compatibility ( JRE )

Hibernate

Compatibility Matrix

Hibernate Compatibility Matrix is available here.

Image

compatibilityMatrix.01.20190506.1250AM

Explanation
  1. Hibernate ORM
    • v6.0
      • Java 8 or 11
    • v5.4
      • Java 8 or 11

Microsoft JDBC Driver

mssql-jdbc-7.0.0.jre10.jar

Naming Convention

The name, mssql-jdbc-7.0.0.jre10.jar, is telling :-

  1. mssql
  2. jdbc
  3. 7.0.0
    • Version of MSSQL/JDBC is 7
  4. jre10
    • Requires Java Runtime 10
  5. jar
    • Jar File
Implication
  1. mssql-jdbc-7.0.0.jre10.jar requires Java JRE 10
    • Hibernate does not support JRE 10
      • It appears we have an incompatibility

mssql-jdbc-7.0.0.jre8.jar

Naming Convention

The name, mssql-jdbc-7.0.0.jre8.jar, is telling :-

  1. mssql
  2. jdbc
  3. 7.0.0
    • Version of MSSQL/JDBC is 7
  4. jre8
    • Requires Java Runtime 8
  5. jar
    • Jar File
Implication
  1. mssql-jdbc-7.0.0.jre8.jar requires Java JRE 8
    • Hibernate does support JRE 8
      • It appears we are good with compatibility

 

 

Data Explorer

Images

Image – Data Explorer – 01

DataSourceExplorer.02.20190505.1126PM.PNG

Dedicate

Always a dedicated piece.

This time it is Kenji Hasunuma.

  1. Kenji Hasunuma
    • How to connect to SQL Server 2016 by Eclipse DTP (en)
      Link

hello World – Java Using Eclipse

Background

Let us use Eclipse IDE to develop a simple Hello World application.

Eclipse IDE

Launch

Please launch Eclipse.

Develop

Outline

Here are the steps that we will take.

  1. Create new project
    • Select Wizard
      • Java Project
    • Project
      • Enter your project name
    • Location
      • Un-check “Use Default Location”
      • Please enter or select folder where project’s files will be stored
  2. Add package to Project
    • Why
      • Though not required it is best to bundle java classes into project
    • Source Folder
      • We will target our project’s Source folder
      • In our case helloWorld/src
    • Naming
      • By convention, packages are named to reflect their organization name
      • Our Organization name is learningintheopen.org
      • In Java, we turn the organization name around to get the package name
        • And, so end up with a base package name of org.learningintheopen
      • As we will be developing various packages, we will suffix this one with sample
  3. Add class to package
    • Let us add our lone class
    • We will name it HelloWorld
    • Modifiers
      • Please check public
        • Allows for public access
      • Final
        • Simple Class
        • Never to be overridden
    • Stubs
      • Please choose to add the main function to allow class’s accessibility
  4. Add a few steps to our HelloWorld class
    • Get System Environment Variable ( username )
      • Syntax
        • System.getenv([environment-variable])
      • Sample
        • strUsername = System.getenv(ENVIROMENT_VARIABLE_USERNAME);
  5. Build application
    • Auto-Build is enabled by default
      • And, so our project is constantly being built
    • To perform a clean build, please engage the menu and choose “Project/Clean…”
  6. Test application
    • To execute the application, please use the “Run” menu

 

Create New Project

Images

New Project – Select a wizard

 

New Java Project – Create a Java Project – 01

 

New Java Project – Create a Java Project – 02

New Java Project – Project Folder Selection – 01

New Java Project – Java Settings – 01

 

Add Package

Images

Image –  Add New Java Package

 

Image –  Package Added

 

 

Add Class to Package

Images

Image –  Add New Java Class – HelloWorld

 

Edit Source Code

Source Code

HelloWorld.java

/**
 * 
 */
package org.learningintheopen.sample;

/**
 * @author dadeniji
  */
public final class HelloWorld {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		sayHello();
	}
	
	public static void sayHello()
	{
		String ENVIROMENT_VARIABLE_USERNAME = "username";
		
		String strUsername;
		String strLog;
		
		strUsername = System.getenv(ENVIROMENT_VARIABLE_USERNAME);
		
		strLog = "Hello";
		
		if (strUsername != null)
		{
			strLog = strLog + " " + strUsername;
		}
		else
		{
			
			strLog = strLog + " " + "World!";
			
		}
		
		// TODO Auto-generated method stub
		 System.out.println(strLog);
	 
	}
	
}


 

Build

Images

Clean

Run

Images

Output

 

Console

Run Application From Command Line

Command

Syntax


java -cp [file-path] [package-name].[class-name]

Sample


java -cp bin org.learningintheopen.sample.HelloWorld

Output

 

Eclipse IDE – Installation On MS Windows

Background

I have a need to review some of our applications configuration and interaction with our back end database.

In this case we will use Eclipse as a client development tool; and use MS SQL Server as our back-end database engine.

Eclipse IDE

Artifacts

Installer

Eclipse Installer are available here :-

Image

artifact.20190504.0449PM

Timeline

As of 2019-April, the current installer is 2019-03R.

Supported OS

Supported OSes are :-

  1. Mac OS X
  2. Windows
  3. Linux

Unfortunately, the only bitness supported is 64-bit.

32-bit is no longer supported.

Tool

The are various packages that are available.

We will be developing in the Java Language and will like to consider ourselves as Enterprise developer and so will chose “Eclipse IDE for Enterprise Java Developers”.

Others who are not targeting J2EE types of applications can likely getaway with “Eclipse IDE for Java Developers”.

Image

artifact.package.20190504.0456PM.PNG

Download

We chose “Eclipse IDE for Enterprise Java Developers” and Windows 64-bit as our targeted OS is MS Windows x64.

Installation

Steps

  1. Launch the installer
  2. The “User Account Control” appears
    • Please click “Yes” to continue
  3. Installation Folder
    • Please choose the folder to target
  4. The “Eclipse Foundation Software User Agreement” window appear
    • Please indicate acceptance of the Agreement
  5. Certificates
    • Please choose to accept the Certificates

Images

User Account Control

install.userAccessControl.20190504.0107PM.PNG

Eclipse IDE for Enterprise Java Developers

install.eclipseInstaller.01.20190504.0111PM.PNG

Installation Folder

install.eclipseInstaller.installationFolder.01.20190504.0111PM.PNG

Eclipse Foundation Software User Agreement

install.eclipseInstaller.EULA.01.20190504.0114PM.PNG

Installing

Installing -01

install.eclipseInstaller.installing.01.20190504.0114PM.PNG

Licenses

Licenses -01

install.licenses.EULA.01.20190504.0115PM.PNG

Installing

Installing -02

install.eclipseInstaller.installing.02.20190504.0117PM.PNG

Installing

Certificates -01

install.eclipseInstaller.certificates.01.20190504.0120PM.PNG

Certificates -02

install.eclipseInstaller.certificates.02.20190504.0120PM.PNG

Usage

Once installation is completed, please start the application.

Dedicated

Dedicated to IBM.

In 2001, developed as a replacement to Visual Age.

17 years and running!

Wikipedia

Link

  1. Name
    • According to Lee Nackman, Chief Technology Officer of IBM’s Rational division (originating in 2003) at that time, the name “Eclipse” (dating from at least 2001) was not a wordplay on Sun Microsystems, as the product’s primary competition at the time of naming was Microsoft Visual Studio, which Eclipse was to eclipse.
  2. History
    • Eclipse was inspired by the Smalltalk-based VisualAge family of integrated development environment (IDE) products.
    • Although fairly successful, a major drawback of the VisualAge products was that developed code was not in a component-based software engineering model.
    • Instead, all code for a project was held in a compressed lump (somewhat like a zip file but in a proprietary format called .dat).
    • Individual classes could not be easily accessed, certainly not outside the tool.
    • A team primarily at the IBM Cary NC lab developed the new product as a Java-based replacement.
    • In November 2001, a consortium was formed with a board of stewards to further the development of Eclipse as open-source software. It is estimated that IBM had already invested nearly $40 million by that time.
    • The original members were Borland, IBM, Merant, QNX Software Systems, Rational Software, Red Hat, SuSE, TogetherSoft, and WebGain.
    • The number of stewards increased to over 80 by the end of 2003. In January 2004, the Eclipse Foundation was created.

Summary

Good things can happen and stay happening when people come together.

In follow-up posts, we will develop simple applications.