Emulator Installation

Caution: Emulator Deprecation
From webOS TV 22, Emulator will not be provided. Instead, we provideSimulator with better development convenience. If you still need to use the Emulator for webOS TV 6.0 or lower, you can install it using webOS Studio | Packager Manager.

Follow the procedure below to install the Emulator.

Prepare for installation

Check if the system requirements and prerequisite are met before starting installation.

System requirements

OS/ComponentRequirement
LinuxUbuntu 14.04 or higher (64bit)
WindowsWindows 7 or higher (64bit)
macOS
  • macOS 10.12 Sierra (supported but not fully tested)
  • macOS 10.13 High Sierra - 11 Big Sur
  • Intel chip (Apple silicon is not supported)
Memory3 GB or more of RAM

Prerequisite

Make sure that Virtualbox and webOS TV CLI are installed.

Step 1. Download Emulator

Download the Emulator corresponding to your OS and unzip it.

webOS TV 6.0

Linux 64-bit

Windows 64-bit

macOS 64-bit

webOS TV 5.0

Linux 64-bit

Windows 64-bit

macOS 64-bit

webOS TV 4.0

Linux 64-bit

Windows 64-bit

macOS 64-bit

webOS TV 3.0

Linux 64-bit

Windows 64-bit

macOS 64-bit

webOS TV 2.0

Linux 64-bit

Windows 64-bit

macOS 64-bit

webOS TV 1.2

Linux 64-bit

Windows 64-bit

macOS 64-bit


Step 2. Download the resource file

Download the resource file corresponding to your OS and unzip it.

Linux Resource File

Windows Resource File

macOS Resource File

Step 3. Place the unzipped directories under LG_WEBOS_TV_SDK_HOME

Place the Emulator directory, unzipped in Step 1, and the Resources directory, unzipped in Step 2, in the path of LG_WEBOS_TV_SDK_HOME.

  • For how to find the path of LG_WEBOS_TV_SDK_HOME, see Check the environment variable .
  • If you have already installed the Emulator and want to install another version, place the vX.0.0directory under the Emulator directory unzipped in Step 1 into the the Emulator directory in the path of LG_WEBOS_TV_SDK_HOME.
Note: Example of the file tree after Step 3
Check out the example below for clarification. In the following example, the path ofLG_WEBOS_TV_SDK_HOME is /home/user/tool/webos_tv_sdk/.
/home/user/tool/
├── webOS_TV_SDK
│   ├── Emulator
│   │   ├── v6.0.0
│   │   ├── v5.0.0 (if installing multiple versions)
│   │   ├── v4.0.0 (if installing multiple versions)
│   │   └── ...
│   ├── Resources
│   │   └── jre

Step 4. Complete the installation

Proceed with one of the following corresponding to your OS to complete the installation.

Windows

  1. Go to the Emulator/vX.0.0 directory, where X is the version to install.
  2. Run vm_register.bat.
  3. Run LG_webOS_TV_Emulator.exe.

Linux

  1. Run the terminal and execute the following commands.
    $ cd /LG_WEBOS_TV_SDK_HOME_PATH/Emulator/vX.0.0
    $ chmod 777 ./*
    $ ./vm_register.sh
    $ ./create_desktop.sh
    $ sudo desktop-file-install webOS_TV_Emulator_vX.0.0.desktop
    • LG_WEBOS_TV_SDK_HOME_PATH: Path of LG_WEBOS_TV_SDK_HOME
    • X.0.0: Emulator version to install
  2. Run webOS TV Emulator X.0.0 on the application list.

macOS

  1. Run the terminal and execute the following commands.
    $ cd /LG_WEBOS_TV_SDK_HOME_PATH/Emulator/vX.0.0
    $ chmod 777 ./*
    $ ./vm_register.command
    • LG_WEBOS_TV_SDK_HOME_PATH: Path of LG_WEBOS_TV_SDK_HOME
    • X.0.0: Emulator version to install
  2. Execute the following command to run the Emulator.
    $ ./run_webos_emulator.sh
No Headings