GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Initial Commit
  • EXPLORE
  • Visual Git command reference
  • Git command demos
  • LEARN
  • Git commands
  • Git articles
  • Git basics
  • Working with a team
  • Getting unstuck
  • All Git topics
  • Python
  • Java
  • Amazon Web Services (AWS)

This view

  • Original page
  • New address

GeezerVison is showing initialcommit.com — How to setup java on windows

Image of How to setup java on windows

Table of Contents

  • Introduction
  • Step-1 Download Java
  • Step-2 Install Java
  • Step-3 Configure JAVA_HOME
  • Summary
  • Next Steps

Introduction

Step-1 Download Java

Download the appropriate JRE package from oracle, choose the package which suits your windows specifications (x86 for 32 bits) (x64 for 64 bits).

Windows Java

P.S: if you install x86 version on 64 bit environment, java may not consume the dedicated amount of memory, it happened to me one day, when i installed java x86 on 64 bit environment by mistake and i kept hours investigating why java is not consuming the 2 GB memory which i assign to it.

Step-2 Install Java

After downloading the .exe file, just install it using the default instructions.

When the installation completes, java should be installed at “C:\Program Files\Java”.

Step-3 Configure JAVA_HOME

The final step is to define the JAVA_HOME environment variable which is used by windows in order to run java applications.

Open the Advanced system settings and set the JAVA_HOME environment variable as the following:

JAVA_HOME

That’s it.

Summary

In this article we introduce the most common way for structuring a maintainable web service, our example can be used as a template for creating any web service using object oriented language. The important factor when structuring an application is to divide it into several modules/components and to define how these components interact between each other.

Next Steps

If you're interested in learning more about the basics of Java, coding, and software development, check out our Coding Essentials Guidebook for Developers, where we cover the essential languages, concepts, and tools that you'll need to become a professional developer.

Thanks and happy coding! We hope you enjoyed this article. If you have any questions or comments, feel free to reach out to [email protected].

Want my next post on Git by email?

Thanks! You're subscribed to Git and git-sim tips.

Final Notes

Recommended product: Coding Essentials Guidebook for Developers

Related Articles

Image of How to learn Java with no programming experience

How to learn Java with no programming experience

Image of the Git logo
javaprogramming
Image of Convert Int to String Java

Convert Int to String Java

Image of the Git logo
javaprogramming
Image of The Difference Between Java and JavaScript

The Difference Between Java and JavaScript

Image of the Git logo
javajavascript
Image of Getting Started with Java Visualizer

Getting Started with Java Visualizer

Image of the Git logo
javaprogramming
Back to Blog
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.