Giter Club home page Giter Club logo

hello-java's Introduction

#Hello Java in Resin.io

Introduction

This project installs Oracle JDK 8 (JRE8 included) which allows you to execute Java applications on Resin.io.

This is a very simple project that is an example of how to run Java code on a Raspberry Pi.

You can build and deploy your code on the Raspberry Pi. Other JDK versions are also supported. When you install Java from these, it assumes acceptance of the Oracle license

  • You can use command CMD ["javac", "sourceFile"] to build the java source separately but with the current raspbian image this command is not supported.

Parts

The recipe for this project is as follows:

  • A Raspberry Pi and USB -> micro USB cable for power.
  • Java source file

Resin.io Setup & Deployment

  1. If you haven't got a Resin.io account, visit dashboard.resin.io and sign up.
  2. Start a new applicaton on Resin.io download the .zip file, format the SD card in FAT32 and extract it to your SD card.
  3. Insert the SD card into the Raspberry Pi, power it up using the micro-usb cable and connect to the Internet.
  4. After about 10 minutes your new device should show up on your application dashboard.
  5. You can now clone the Hello.Java repo:

$ git clone https://github.com/resin-io/Hello-Java.git

Then add the resin remote:

$ git remote add resin [email protected]:<myUserName>/<myApplicationName>.git

And finally push the code to your Raspberry Pi:

$ git push resin master

Now you can enjoy Java code on Resin.io.

hello-java's People

Contributors

james2710 avatar jerseyweeds avatar lorenzo-stoakes avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.