The Roku plugin for Eclipse

Speed up the development, testing, and publishing for channels

Note: We’ve updated the plugin – see updated details below.

Overview

With over 80,000 developers on the platform, we have been working to improve the experience of building channels on the Roku Platform. Today, we’re excited to share an open beta for the revamped Roku plugin for Eclipse!

image03

The Eclipse IDE (Integrated Development Environment) is used by millions of professional engineers around the world for coding and deploying rich applications.

Why the Roku plugin is great?

Building channel applications requires several items to work together in unison:

  • A Roku device
  • The Roku Operating System
  • Your channel application
  • Hosted media content (video, audio, games, etc)

To make this happen, developers set up various ways to get rapid coding installed quickly on a device. Thanks to the Roku Plugin for Eclipse, within several minutes you’ll have the power of a fully baked Integrated Development Environment and the customizations needed to develop, test, package, and install channels on Roku devices.

Key Features

Code highlight / Syntax Coloring

image06

Quickly find errors in your channel application with our built in color coding for BrightScript and Roku SceneGraph syntax.

image05

Code completion and hints

The plugin checks the reference guides for BrightScript and Roku SceneGraph, allowing for auto completion and details for parameters, methods, and nodes.

image04

Built in telnet console for BrightScript and SceneGraph

All the available Roku device telnet ports are built into the plugin, allows for fast feedback on bugs, stack traces, and break points in your channel application.

image00

Create a new BrightScript project

Quickly have all required assets and files setup through Eclipse. In addition, reference sample channels are provided in a simple drop down for testing. The manifest, components, source, images, locale, and related directories are handled instantly.

image01

Installing and packaging channel application

Using the standard export option for projects, the Roku plugin for Eclipse enables developers to install their current channel code onto Roku devices within seconds. In addition, developers can package and key their applications for preparing the Channel Store required assets.

image02

Installation Steps:

Note: Make sure any previous versions of the Roku plugin for Eclipse are uninstalled via Eclipse > Help > Installation Details > BrightScript core > Uninstall. In addition the minimum required version of Eclipse is the “Mars” release.

Workspace: We encourage you to start your Roku projects in a fresh workspace. You can copy your projects back in afterwards. Thanks!

  1. Download Java version 8: oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
  2. Download the latest version of the Eclipse Installer (currently version “Mars”) for Java IDE Developers: eclipse.org/downloads/installer-instructions.php
  3. Add the Roku Plugin package via Eclipse > Help > Install New Software > Add…

Note: Updated version available!

We’ve released an updated version of the Roku Eclipse plugin following the release of OS 7.2 to patch bugs and regressions. Developers who installed the Eclipse plugin prior to August 1, 2016 should update the plugin by clicking Eclipse > Help > Install New Software > Add…

  • Name: Roku Plugin
  • Location: https://devtools.web.roku.com/ide/eclipse/plugin
  • Follow the instructions and click Next.
  • You’ll receive a message saying that “‘BrightScript Core'” is already installed, so an update will be performed instead.” Click Finish.
  • Restart Eclipse.

Related resources:

This entry was posted in News, sdk, Tutorials and tagged . Bookmark the permalink.
  • Well Team, I finally got this done on my Macbook Pro but it took the SDK 8 version rather than the one linked above which is only the SRE version. Mac Heads go here for the SDK 8 if you don’t have it already: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html With this finally done, installing Eclipse and the Awesome Roku Plug-In were a snap! Thank You!

    • hey TC, since you’re the most recent post on this topic, was wondering what version of Eclipse you use with your Roku development? Trying to find out what versions it supports – Thanks much

      • Roman

        You need at least Eclipse MArs to run new plugin

  • TheEndless

    As much as I’d love to use the new plug-in, it absolutely pegs my CPU at 100% upon launch. I even tried a completely fresh Eclipse install and experienced the same issue immediately after installing the new plug-in. Is this a known issue?

    • TheEndless

      Finally got it working by creating a new workspace. With 50+ projects, that was pretty painful, but at least I’m back up and running.

      • TheEndless

        Aaaaannnnd… scratch that. After re-building my workspace, it went back to 100% CPU usage. I’ve already lost half a day trying to get the new plug-in working, so it looks like I’ll be rolling back.. 🙁

        • Sam Wise

          I have the same problem and have narrowed it down to a complex code block. Have you found out how to fix this?

    • We updated the build – let us know if it resolves your issues. Thanks!

      • Insan1ty

        The updated plugin link shows a 404 not found error.

        Any update on when it’s going to be fixed?

      • Rajaguru Radhakrishna

        Hi…
        The link updated shows 404 error. Kindly share the new updated and working link…

  • RyanChristian

    The install on Windows 10 was really straightforward. I had the CPU problem that TheEndless mentioned, but it went away after I restarted Eclipse and set up a new workspace. The import tool, linter, and export tool all seem to work great. So far so good!

  • I moved to Atom + Purple Bug. I only use the Eclipse to create the final deployment package. Atom is way lighter, and the roku-deploy addon package is good enough for my needs on regular development.

  • I can’t get the plugin to install, I get no software found.. I’ve tried pointing it ot the .jar file and also tried it uncompressed.. what is the secret to installing this?

    Downloaded from the link above, ran the eclipse installer selected the first option java development, then selected help install new software add, browsed to the jar files (there seems to be 2 on is like 8k the other is alittle over 2 megs) neither worked, then I put in the path to site for downloading from above, no deal, then I downloaded everything keeping the paths intact to a local drive and tried pointing it there.. still no software found..

  • Andrew Bruni

    I’m getting the CPU hang as well, in my case over 300%. I can’t even open Eclipse with this plugin installed. Is there a fix for this?

    • NZ

      I have to remove the brightscript from the .project file of any project in the workspace

  • Alejandro David Cotilla Rojas

    Roku SDK and Brightscript have been around since 2009, the same as the iOS SDK and before the Android SDK. Could you guys PLEASE make a respectful environment? Roku development is ridiculously painful, specially for 2016!!! Pleaseee !!! I’m not trying to be disrespectful, it’s just that I like Roku, and I don’t want to see this device fade away. Please make a REAL IDE first, then a REAL SDK and then a REAL language. BTW I’m getting the same CPU issue.

  • Any plans to move away from BrightScript and to a modern, popular language?

    • Istlota Everyman

      Amen to that. On my To Do list is to investigate if it is possible to code a Python wrapper for BrightScript as others have done for procedural languages like those used by PovRay and Lilypond. If you are interested in trying that approach, look over the Python wrapper for PovRay [http://code.activestate.com/recipes/205451-povray-for-python/].

  • So why is this so difficult? I shouldn’t have to retrain myself on 3 different programing languages just to build a site on ROKU? Has anyone developed a Microsoft Expression type of interface and publishing setup?

  • David Spector

    I did the three installation steps onto Windows 8.1 with no problem. What do I do now? Can I build an app out of test files? Can I package it automatically as part of the ‘make’? Can I side-load it? Can I debug it? How do I do these things? Is there a tutorial? Hello?

  • Mohammed Khateeb Kamran

    This is making my computer freeze also. CPU usage is up at 100% because of this.

  • Himanshu Yadav

    Please add support for Eclipse Neon. I am getting org.eclipse.ui.internal.wizards.datatransfer.ZipFileExporter.(Ljava/lang/String;Z)V error while deploying the project.

  • Snyder Kuster

    hi there can some one help me when i was trying to build my zip file i got this error how can i solve it? thanks

    • colddayinhades

      Same issue, and a fresh install today. Was using the JDK 8u102

    • Eugene

      Plugin doesn’t fully support Neon yet. Try installing Mars.

  • Gabriel Alexandru

    This appears after i’m trying to update the plug-in from this link: https://devtools.web.roku.com/ide/eclipse/plugin

  • ryandang

    I’m a newbie roku developer, I have a litte problems with eclipse when developer roku project, we cannot export BrightScript project for roku package.
    Anyone know or give me advise how to fix this problems ?

    Thanks.

  • Can any one please guide me on why I cant export my project. Stucked after export, then selecting brightscript. Can it be my old “Eclipse Java Mars”? Any suggestion would be greatly appreciated. Thanks https://uploads.disquscdn.com/images/145d53421f570f873746aa88e6da36dc2524bd4a06ceba65f0b2cd4de7081ff5.jpg

  • Henry Hyde

    I’m trying to create a screensaver channel. When I upload my channel package in the Application Installer Page my images are not showing. I have no idea what the issue is. Any suggestions?

  • Istlota Everyman

    Be advised of an Eclipse problem which some are mistaking to be a Roku problem. I was previously using Eclipse Juno, but the current Roku Plugin requires a minimum of Eclipse Mars, and Juno can not be upgraded to Mars. So I initially had two versions of Eclipse installed, Juno and Neon [the current version of Eclipse]. But, this caused Eclipse Neon to hang if I attempted to open a workspace whcih had previoously been opened with JUo., Teh problme is due to a hiddne fodler tintehworspace named .metadata. If that hiddne folder was creted witj Juno, NOne has a propblw with it. HEnce, if I previouslyh opne thw orkspace with JUno, Neon had a pproblem with it.id I tried dto open that workspace with Neon when it had preivouslybeen opene dtiwhe Juino. Teh probem is that ther is an hiddcne fodler named .metadata inthe workspace folder with JUno had pcreivously crfeated which NOen doesn;t likel the workspace which Ecipse uses continas anhiddne foolder nameed .meetadata whcih if created with older versiosn of Ecips ewhich be incompatible with Neon. HEnce, anytiem ti opened the worslpace conting my After that, Eclipse Neon woudl hang whenver I attempt ed to open a workspace which had preivously been iopoedn by Neon. The proboem is that ther is anhiddnefolder the tghe owrkspace[.metadata] whcih will , th elatets Eclisp everison. a second version of Eclipse, thelatsets versionwchish is currently Neon.Eclipsehad to upgrade Eclipse from Juno to Neon to be compatible with the latest Roku plugin. BUt, after that, Eclispe would hang up after I tried to open a workspae prevoiusly used by Jino. On my Linux computer, the fix was to navigate into the workspace folder
    and delete the hidden folder called .metadata. After I upgraded Eclipse
    from Juno to Neon, to make Eclipse compatible with the current version
    of the ROku channel plugin, Eclipse would hang after it attempted to
    open a workspace previously used by Juno. This is an Eclipse problem,
    not a Roku problem. After I deleted the .metadata hidden folder, the
    next time I opened that workspace with Eclipse Neon, .metadata was
    rebuilt to be Neon compatible.

    Note that this means, if you have
    more than one version of Eclipse installed, every time you open that
    particular workspace with a non-Neon version of Eclipse, you will have
    to delete .metadata all over again before you can develop Roku code in
    that workspace.