Setting up Samsung Smart TV development environment with Eclipse Luna

This is a step by step guide on how to set up Samsung SmartTV 3.5 /3.5.2 development environment with Eclipse Luna.

When you download and install Samsung SmartTV 3.5 /3.5.2  for Eclipse, it comes with Eclipse IDE for JavaScript Web Developers Indigo 2011 version.

However, there’s a way to use it with Eclipse Luna, 2014 version.

Step 1: Install DirectX End-User Runtime

  1. Open dxwebsetup.exe located here

This is necessary to Install the Samsung Smart TV SDK.

Step 2: Install Java Runtime 7

  1. Open jre-7u72-windows-x64.exe from here

I did not have any JRE version installed previously.

Step 3: Make sure you have Java’s bin folder in your PATH. The folder is: C:\Program Files\Java\jre7\bin

  1. Open command prompt and type:

SET PATH=%PATH%;C:\Program Files\Java\jre7\bin

Step 4: Install Samsung TV SDK 3.5.2

  1. Download and install the (SDK Download for Eclipse) located here 

Step 5: Install Eclipse Luna

  1. Download it from here
  2. After rebooting your system, unzip eclipse-standard-luna-R-win32-x86_64.zip to the Desktop
  3. Go to the Samsung TV SDK installation folder, look for the eclipse folder, open it and then open plugins folder:
    1. C:\Program Files (x86)\Samsung\Samsung TV SDK(3.5.2)\eclipse\plugins
  4. Copy two files:
    1. tv.samsung.sdk_1.2.2.jar
    2. org.mozilla.javascript_1.7.2.v201005080400.jar
  5. Paste those files on the correspondent plugins folder in the eclipse folder you just unzipped on the Desktop
  6. Go back to the Samsung TV SDK installation folder: C:\Program Files (x86)\Samsung\Samsung TV SDK(3.5.2)
  7. Delete the eclipse folder
  8. Move the eclipse folder from the Desktop to the Samsung TV SDK installation folder.

Step 6: Permissions (optional)

Skip this step if you don’t want to use the Samsung TV SDK apps folder as our workspace folder in Eclipse.

  1. Go to the apps folder in your Samsung TV SDK installation folder: C:\Program Files (x86)\Samsung\Samsung TV SDK(3.5.2)\apps
  2. Right-click, choose Properties/Security/Edit
  3. Give yourself Full Control

Step 7: Running the Emulator

  1. On Eclipse, open the Samsung SMART TV SDK menu option/Samsung SMART TV SDK Preferences
  2. Fix the SDK Install Path to: C:\Program Files (x86)\Samsung\Samsung TV SDK(3.5.2)

Now check out how to set up Eclipse with AngularJS

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s