OXYGEN
HomeGitHubReleasesCommunity
  • Welcome to Oxygen
  • About
    • What is Oxygen?
    • Getting Started (Videos)
      • Oxygen IDE Controls Overview
      • Recording a Web Test
      • Oxygen Commands Explained
    • Getting help
  • Download and work with Oxygen
    • Download & Installation
      • Oxygen IDE Installation
      • Oxygen for Mobile Installation
      • Oxygen for Windows Desktop Automation Setup
      • Oxygen for Mac Installation
        • Mac Installation Troubleshooting
      • Oxygen CLI Installation
      • Java Installation Instructions
      • Recording Troubleshooting
    • Start working with Oxygen
      • Getting Started - Web
        • Introduction - Web Testing
        • Recording a Web Test
        • Creating a Web Test
        • Sample Project - Web Test
      • Getting Started - Mobile
        • Introduction - Mobile Testing
        • Recording a Test on Mobile
        • Creating a Test - Mobile
        • Sample Project - Mobile
      • Getting Started - Oxygen for Windows Desktop Automation
      • Getting Started- Oxyge CLI
        • Running a Test Script on Windows
        • Running Multiple Tests (Suites) on Windows
    • Oxygen Modules
      • assert
      • date
      • db
      • email
      • eyes
      • http
      • log
      • mailinator
      • mob
      • pdf
      • proxy
      • serial
      • shell
      • soap
      • twilio
      • utils
      • web
      • win
    • Test Parameters
  • Cloud Providers
    • Sauce Labs
    • Lambda Test
    • TestObject
  • Advanced programming in Oxygen
    • Project Configuration
    • Locating Elements
    • Page Objects
    • Environments
    • Code Components
Powered by GitBook
On this page
  • Java Installation on Windows
  • Java installation for Mac OS X (10.15)

Was this helpful?

  1. Download and work with Oxygen
  2. Download & Installation

Java Installation Instructions

PreviousOxygen CLI InstallationNextRecording Troubleshooting

Last updated 5 years ago

Was this helpful?

Java Installation on Windows

Download Java from here:

Continue with normal installation:

Verify that java is install by opening cmd and typing

java -version

How to set Environment Variables

  1. Click on my computer and open properties

2. Go to advanced system settings

3. Go to environment variables

4. Click on new and name the variable as PATH

5. Find and copy the path that leads to java\jdk\bin

example: c:\Program Files\Java\jdk1.8.0_181\bin

6. Paste the path as the value

Java installation for Mac OS X (10.15)

Insure java is installed by typing java -version in the Terminal:

Creating a .bash_profile on your mac

A typical install of OS X won't create a .bash_profile for you. When you want to run functions from your command line, this is a must have.

To set up the environment variables open the Terminal and go to the home folder by using the following command: "cd ~/

  1. Create a new file by typing: touch .bash_profile

  2. Edit .bash_profle by typing: open -e .bash_profile

  3. Type: export JAVA_HOME=$(/usr/libexec/java_home)

  4. Save the file (command + s) and return to the Terminal

  5. Type: source .bash_profile

Download and install Java:

https://www.java.com/en/download/mac_download.jsp
https://www.java.com/en/download