SlideShare uma empresa Scribd logo
1 de 38
Raspberry PI on Java
35$PC Not PI Do Java
           Masafumi Ohta
 Lead of Japanese Raspberry PI UG.
It’s Me

Masafumi Ohta -
Founded Japanese
Raspberry PI Users Group
in 2012.9

Working for CTC as OSS
investigation
About Raspberry PI
Eben,founder of PI

Founder of Rasberry
PI

Director of Broadcom

Founding PI for
Education teaching
Programmings and
Computer hardware
=OLPC
What’s PI

it is for studying
computer for K12 -
how computer works
and how to study
‘PITHON’,easy and
basical lang.

works
Debian,Arclinux...and
Android
There are Revisions

Rev.A - without ethernet (using usb)

Rev.B 1.0 - with ethernet

Rev.B 1.0 + ECN0001 (no fuses, D14 removed) - ?
Perhaps we cant see in Japan

Rev.B 2.0 - adding some improvements

Rev.B 2.0 w/512MB - adding memories        Latest!
Check your Rev.
*cat /proc/cpuinfo (need to check on latest OS)
         Model and revision            Code(s)

        Model B Revision 1.0              2
       Model B Revision 1.0
                                          3
 + ECN0001 (no fuses, D14 removed)
        Model B Revision 2.0             4,5,6

   Model B Revision 2.0 (512 MB)       13,14,15
 also you can check serial No. for maintenance
Two Vendors for PI

RS Components - manufactured in China.Now can
order from Japan but it takes 2-3 month to get
them :-(

Element14 - manufactured by Sony in UK.but no
channel reseller in Japan (now talking with CPC,sis
company of element14 ),it take 1-2 week to get
them :-)
books
Almost contents are same :-p
Inside Raspberry PI
Needs enough to pack


10/100 ethernet - enough to work with electric
power.

no wifi - wifi eats electric power - sometime it
wont boot actually with usb wifi (be carefull :-p)

poor memories,CPU - it is for COST :-p
GPIO Port
You must check using PI serial line provided by
GPIO NOT USB port.

GPIO port assign very often changes updating the
Revision of PI.

Prepare Sparkfun DEV-09873 (3.3V NOT 5V) you
can buy in Akibahara.

careful 115200 bps to be used for serial
Be careful using

Need stable power running USB wifi.

Need high-speed and stable SD card to running OS

Use high-power and stable battery like Panasonic
to use PI as mobile. (in my case it works for 8
hours)

be careful USB port on Mac....often got kernel
panic.(say abusing USB port)
Poor CPU and Memories


                                    se d...
 taking care of memories and CPU. e lea
                                 nr
                             bee
                          as
                        Bh
 top,such as measuring performance - must use for
                 /5 12 M
 sizing       Bw
          Rev
      Now
Distros on PI
Raspbian “wheezy”

Default Destro.recommended OS

Needs to update moving SD from w/256MB to w/
512MB:’sudo apt-get update && sudo apt-get install
raspi-config libraspberrypi*’

At first you should set ‘raspi-config’

Works good but veeery slow GUI,be careful

Poor CPU,memories must be considered
Java Rocks with PI
before get started

Macbook (Unix PC) is prefer to use

git must be used (if Mac need MacPort)

if you use Oracle JVM you MUST use soft-float
ABI Debian wheezy,or it won’t work.

if soft-float ABI wheezy DO NOT forget to replace
start.elf applied for 512MB.
replace start.elf
(if use soft-floatABI)

git git://github.com/raspberrypi/firmware.git

cd firmware;git checkout;git checkout -b
48f8bb0e47

cd boot;cp armXXX_start.elf /Volume/$SD_NAME/
start.elf (Mac OS X)
Note:burn OS image
      on Mac
diskutil list

sudo diskutil umount /dev/disk1s1

sudo sudo dd if=2012-10-28-wheezy-raspbian.img
of=/dev/rdisk1 bs=1m

sudo diskutil umount /dev/disk1s1

after boot set ‘raspi-config’ and ‘expand_rootfs’ to
expand filesystem
Note:‘screen’ Command
 to use serial on Mac

Plug USB to GPIO with DEV-09873,Not USB on
Raspberry PI

ls /dev/tty.*

screen /dev/tty.usbserial-xxxxxxxx(serial No.)
115200
Installing JamVM
sudo apt-get install openjdk-7-jdk git libtool
autoconf automake

git clone git://git.berlios.de/jamvm;cd jamvm

./autogen.sh --with-java-runtime-
library=openjdk7;make

sudo cp src/.libs/libjvm.so /usr/lib/jvm/java-7-
openjdk-armhf/jre/lib/arm/jamvm/


            *http://labb.zafena.se/?p=576
Install JamVM(Cont’d)


sudo sed -i 's#-jamvm ERROR#-jamvm
KNOWN#' /usr/lib/jvm/java-7-openjdk-armhf/
jre/lib/arm/jvm.cfg

java -jamvm -version




           *http://labb.zafena.se/?p=576
Using JamVM


Jetty 9.0:http://download.eclipse.org/jetty/
stable-9/dist/

H2 Database:http://www.h2database.com/
h2-2012-09-09.zip
Installing Node.js
     (soft-floatABI)

Easy to install:using soft-floatABI wheezy

git clone git://github.com/itwars/nodejs-ARM.git

dpkg -i nodejs-ARM/
nodejs_0.8.14~squeeze_armel.deb



        *https://github.com/itwars/nodejs-ARM/
Installing Node.js
     (hard-floatABI)
Do NOT use latest

git clone git://github.com/joyent/node.git

cd node;git checkout v0.8.14-release

./configure && make

sudo make install


         *https://github.com/wware/rpi-hacking
JavaFX for ARM
              (beta)
   There were sessions for Raspberry PI for
   JavaFX,but now under development.

   check http://jdk7.java.net/fxarmpreview/javafx-
   arm-developer-preview.html but it is for
   beagleboard - am ARM based mini-board.

   need to use soft-floatABI wheezy to use Oracle
   JVM,or it won’t work

   use VNC not X11 remote.
*https://blogs.oracle.com/javaone/entry/session_report_java_on_the
Raspberry PI UG

subscribe https://groups.google.com/d/forum/
japanese-raspberry-pi-users-group

welcoming beginners (for studying) :-p

help purchasing PI

planning to attend some OSS event.

Why don’t you join us!

  *note it is not concerned and sponsored by my company
Thank you!
               Masafumi Ohta
          mailto:masafumi@pid0.org
           twitter:@masafumiohta
subscribe please:https://groups.google.com/d/
 forum/japanese-raspberry-pi-users-group

Mais conteúdo relacionado

Mais procurados

Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)Macpaul Lin
 
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...ryancox
 
Accelerate graphics performance with ozone-gbm on Intel based Linux desktop s...
Accelerate graphics performance with ozone-gbm on Intel based Linux desktop s...Accelerate graphics performance with ozone-gbm on Intel based Linux desktop s...
Accelerate graphics performance with ozone-gbm on Intel based Linux desktop s...Joone Hur
 
Running Chrome/Android OS on Raspberry Pi
Running Chrome/Android OS on Raspberry PiRunning Chrome/Android OS on Raspberry Pi
Running Chrome/Android OS on Raspberry PiLouis Shue
 
"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on PowerSebastien Chabrolles
 

Mais procurados (7)

Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)
 
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
Developing Applications for Beagle Bone Black, Raspberry Pi and SoC Single Bo...
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Accelerate graphics performance with ozone-gbm on Intel based Linux desktop s...
Accelerate graphics performance with ozone-gbm on Intel based Linux desktop s...Accelerate graphics performance with ozone-gbm on Intel based Linux desktop s...
Accelerate graphics performance with ozone-gbm on Intel based Linux desktop s...
 
Running Chrome/Android OS on Raspberry Pi
Running Chrome/Android OS on Raspberry PiRunning Chrome/Android OS on Raspberry Pi
Running Chrome/Android OS on Raspberry Pi
 
"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power"Relax and Recover", an Open Source mksysb for Linux on Power
"Relax and Recover", an Open Source mksysb for Linux on Power
 
Board Bringup
Board BringupBoard Bringup
Board Bringup
 

Destaque

Build a Java and Raspberry Pi weather station
Build a Java and Raspberry Pi weather station Build a Java and Raspberry Pi weather station
Build a Java and Raspberry Pi weather station Marco Pirruccio
 
Raspberry pi weather storey
Raspberry pi weather storey Raspberry pi weather storey
Raspberry pi weather storey Dominic Storey
 
Increased Developer Productivity for IoT with Java and Reactive Blocks (Oracl...
Increased Developer Productivity for IoT with Java and Reactive Blocks (Oracl...Increased Developer Productivity for IoT with Java and Reactive Blocks (Oracl...
Increased Developer Productivity for IoT with Java and Reactive Blocks (Oracl...Bart Jonkers
 
MQTT with Java - a protocol for IoT and M2M communication
MQTT with Java - a protocol for IoT and M2M communicationMQTT with Java - a protocol for IoT and M2M communication
MQTT with Java - a protocol for IoT and M2M communicationChristian Götz
 
MQTT, Eclipse Paho and Java - Messaging for the Internet of Things
MQTT, Eclipse Paho and Java - Messaging for the Internet of ThingsMQTT, Eclipse Paho and Java - Messaging for the Internet of Things
MQTT, Eclipse Paho and Java - Messaging for the Internet of ThingsAndy Piper
 
Low Cost HD Surveillance Camera using Raspberry PI
Low Cost HD Surveillance Camera using Raspberry PILow Cost HD Surveillance Camera using Raspberry PI
Low Cost HD Surveillance Camera using Raspberry PIVarun A M
 
Home Automation Using RPI
Home Automation Using  RPIHome Automation Using  RPI
Home Automation Using RPIAnkara JUG
 
Internet of things using Raspberry Pi
Internet of things using Raspberry PiInternet of things using Raspberry Pi
Internet of things using Raspberry PiYash Gajera
 
A seminar report on Raspberry Pi
A seminar report on Raspberry PiA seminar report on Raspberry Pi
A seminar report on Raspberry Pinipunmaster
 
Smart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PISmart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PIKrishna Kumar
 
pressure sensors
pressure sensorspressure sensors
pressure sensorsjignesh4472
 

Destaque (11)

Build a Java and Raspberry Pi weather station
Build a Java and Raspberry Pi weather station Build a Java and Raspberry Pi weather station
Build a Java and Raspberry Pi weather station
 
Raspberry pi weather storey
Raspberry pi weather storey Raspberry pi weather storey
Raspberry pi weather storey
 
Increased Developer Productivity for IoT with Java and Reactive Blocks (Oracl...
Increased Developer Productivity for IoT with Java and Reactive Blocks (Oracl...Increased Developer Productivity for IoT with Java and Reactive Blocks (Oracl...
Increased Developer Productivity for IoT with Java and Reactive Blocks (Oracl...
 
MQTT with Java - a protocol for IoT and M2M communication
MQTT with Java - a protocol for IoT and M2M communicationMQTT with Java - a protocol for IoT and M2M communication
MQTT with Java - a protocol for IoT and M2M communication
 
MQTT, Eclipse Paho and Java - Messaging for the Internet of Things
MQTT, Eclipse Paho and Java - Messaging for the Internet of ThingsMQTT, Eclipse Paho and Java - Messaging for the Internet of Things
MQTT, Eclipse Paho and Java - Messaging for the Internet of Things
 
Low Cost HD Surveillance Camera using Raspberry PI
Low Cost HD Surveillance Camera using Raspberry PILow Cost HD Surveillance Camera using Raspberry PI
Low Cost HD Surveillance Camera using Raspberry PI
 
Home Automation Using RPI
Home Automation Using  RPIHome Automation Using  RPI
Home Automation Using RPI
 
Internet of things using Raspberry Pi
Internet of things using Raspberry PiInternet of things using Raspberry Pi
Internet of things using Raspberry Pi
 
A seminar report on Raspberry Pi
A seminar report on Raspberry PiA seminar report on Raspberry Pi
A seminar report on Raspberry Pi
 
Smart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PISmart Wireless Surveillance Monitoring using RASPBERRY PI
Smart Wireless Surveillance Monitoring using RASPBERRY PI
 
pressure sensors
pressure sensorspressure sensors
pressure sensors
 

Semelhante a Raspberry pi on java 20121110

Getting started pi with android
Getting started pi with androidGetting started pi with android
Getting started pi with androidMasafumi Ohta
 
Desktop Ubutu on Laptops and RaspberryPi_practices how to use it with SD card...
Desktop Ubutu on Laptops and RaspberryPi_practices how to use it with SD card...Desktop Ubutu on Laptops and RaspberryPi_practices how to use it with SD card...
Desktop Ubutu on Laptops and RaspberryPi_practices how to use it with SD card...Masafumi Ohta
 
Raspberry with laptop
Raspberry with laptopRaspberry with laptop
Raspberry with laptopProf Kingstan
 
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadAndrewWright224
 
ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220AndrewWright224
 
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...jaxLondonConference
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PICliff Samuels Jr.
 
Artificial Intelligence Neural Processing Unit Hikey970
Artificial Intelligence Neural Processing Unit Hikey970Artificial Intelligence Neural Processing Unit Hikey970
Artificial Intelligence Neural Processing Unit Hikey970KnowledgeMavens
 
Raspberry-PI introduction
Raspberry-PI introductionRaspberry-PI introduction
Raspberry-PI introductionBasavaraj Sagar
 
Raspberry pi technology
Raspberry pi technologyRaspberry pi technology
Raspberry pi technologyZeeshan Aslam
 
BeagleBone Black: Platform Bring-Up with Upstream Components
BeagleBone Black: Platform Bring-Up with Upstream ComponentsBeagleBone Black: Platform Bring-Up with Upstream Components
BeagleBone Black: Platform Bring-Up with Upstream ComponentsGlobalLogic Ukraine
 
Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Mandeesh Singh
 
Introduction to raspberry pi
Introduction to raspberry piIntroduction to raspberry pi
Introduction to raspberry pipraveen_23
 
Java Device I/O at Raspberry PI to Build a Candy Vending Machine
Java Device I/O at Raspberry PI to Build a Candy Vending MachineJava Device I/O at Raspberry PI to Build a Candy Vending Machine
Java Device I/O at Raspberry PI to Build a Candy Vending MachineJeff Prestes
 
Data stax cassandra_summit_2013_cassandra_raspberrypi-rc1
Data stax cassandra_summit_2013_cassandra_raspberrypi-rc1Data stax cassandra_summit_2013_cassandra_raspberrypi-rc1
Data stax cassandra_summit_2013_cassandra_raspberrypi-rc1Andy Cobley
 
Some experiences for porting application to Intel Xeon Phi
Some experiences for porting application to Intel Xeon PhiSome experiences for porting application to Intel Xeon Phi
Some experiences for porting application to Intel Xeon PhiMaho Nakata
 

Semelhante a Raspberry pi on java 20121110 (20)

Getting started pi with android
Getting started pi with androidGetting started pi with android
Getting started pi with android
 
Desktop Ubutu on Laptops and RaspberryPi_practices how to use it with SD card...
Desktop Ubutu on Laptops and RaspberryPi_practices how to use it with SD card...Desktop Ubutu on Laptops and RaspberryPi_practices how to use it with SD card...
Desktop Ubutu on Laptops and RaspberryPi_practices how to use it with SD card...
 
How to Hack Edison
How to Hack EdisonHow to Hack Edison
How to Hack Edison
 
Raspberry with laptop
Raspberry with laptopRaspberry with laptop
Raspberry with laptop
 
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPad
 
ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220
 
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...
Do You Like Coffee with Your dessert? Java and the Raspberry Pi - Simon Ritte...
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 
Artificial Intelligence Neural Processing Unit Hikey970
Artificial Intelligence Neural Processing Unit Hikey970Artificial Intelligence Neural Processing Unit Hikey970
Artificial Intelligence Neural Processing Unit Hikey970
 
Raspberry-PI introduction
Raspberry-PI introductionRaspberry-PI introduction
Raspberry-PI introduction
 
Raspberry pi technology
Raspberry pi technologyRaspberry pi technology
Raspberry pi technology
 
BeagleBone Black: Platform Bring-Up with Upstream Components
BeagleBone Black: Platform Bring-Up with Upstream ComponentsBeagleBone Black: Platform Bring-Up with Upstream Components
BeagleBone Black: Platform Bring-Up with Upstream Components
 
Qemu Pcie
Qemu PcieQemu Pcie
Qemu Pcie
 
Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014
 
Introduction to raspberry pi
Introduction to raspberry piIntroduction to raspberry pi
Introduction to raspberry pi
 
Java Device I/O at Raspberry PI to Build a Candy Vending Machine
Java Device I/O at Raspberry PI to Build a Candy Vending MachineJava Device I/O at Raspberry PI to Build a Candy Vending Machine
Java Device I/O at Raspberry PI to Build a Candy Vending Machine
 
Data stax cassandra_summit_2013_cassandra_raspberrypi-rc1
Data stax cassandra_summit_2013_cassandra_raspberrypi-rc1Data stax cassandra_summit_2013_cassandra_raspberrypi-rc1
Data stax cassandra_summit_2013_cassandra_raspberrypi-rc1
 
Some experiences for porting application to Intel Xeon Phi
Some experiences for porting application to Intel Xeon PhiSome experiences for porting application to Intel Xeon Phi
Some experiences for porting application to Intel Xeon Phi
 
Xen time machine
Xen time machineXen time machine
Xen time machine
 
Let's begin io t with $10
Let's begin io t with $10Let's begin io t with $10
Let's begin io t with $10
 

Mais de Masafumi Ohta

Raspberry pi history, tips and use case (coscup19)
Raspberry pi history, tips and use case (coscup19)Raspberry pi history, tips and use case (coscup19)
Raspberry pi history, tips and use case (coscup19)Masafumi Ohta
 
Journey with the vineyard compressed
Journey with the vineyard compressedJourney with the vineyard compressed
Journey with the vineyard compressedMasafumi Ohta
 
Let's play mini card-sized computer boards on the business!
Let's play mini card-sized computer boards on the business!Let's play mini card-sized computer boards on the business!
Let's play mini card-sized computer boards on the business!Masafumi Ohta
 
Lt osc tokyo_gpd_micro_pc_edited
Lt osc tokyo_gpd_micro_pc_editedLt osc tokyo_gpd_micro_pc_edited
Lt osc tokyo_gpd_micro_pc_editedMasafumi Ohta
 
Raspberry pi history, tips and use case
Raspberry pi history, tips and use caseRaspberry pi history, tips and use case
Raspberry pi history, tips and use caseMasafumi Ohta
 
Minio on Raspberry Pi
Minio on Raspberry PiMinio on Raspberry Pi
Minio on Raspberry PiMasafumi Ohta
 
20150604_RaspberryPi_Linuxcon
20150604_RaspberryPi_Linuxcon20150604_RaspberryPi_Linuxcon
20150604_RaspberryPi_LinuxconMasafumi Ohta
 
20150523 raspberry pi-for_osc_nagoya
20150523 raspberry pi-for_osc_nagoya20150523 raspberry pi-for_osc_nagoya
20150523 raspberry pi-for_osc_nagoyaMasafumi Ohta
 
Raspberry pi最新情報アップデート&いろいろ比較
Raspberry pi最新情報アップデート&いろいろ比較Raspberry pi最新情報アップデート&いろいろ比較
Raspberry pi最新情報アップデート&いろいろ比較Masafumi Ohta
 
Raspberry Pi 最新情報 at OSC Tokyo 2014 秋
Raspberry Pi 最新情報 at OSC Tokyo 2014 秋Raspberry Pi 最新情報 at OSC Tokyo 2014 秋
Raspberry Pi 最新情報 at OSC Tokyo 2014 秋Masafumi Ohta
 
CLSイベント企画について
CLSイベント企画についてCLSイベント企画について
CLSイベント企画についてMasafumi Ohta
 
Raspberry Pi最新情報 at OSC 2014 Hokkaido
Raspberry Pi最新情報 at OSC 2014 HokkaidoRaspberry Pi最新情報 at OSC 2014 Hokkaido
Raspberry Pi最新情報 at OSC 2014 HokkaidoMasafumi Ohta
 
Raspberry pi on java at Java8 Launching Event in Japan
Raspberry pi on java at Java8 Launching Event in JapanRaspberry pi on java at Java8 Launching Event in Japan
Raspberry pi on java at Java8 Launching Event in JapanMasafumi Ohta
 
Raspberry pi for beginners 20130623 osc nagoya
Raspberry pi for beginners 20130623 osc nagoyaRaspberry pi for beginners 20130623 osc nagoya
Raspberry pi for beginners 20130623 osc nagoyaMasafumi Ohta
 
Raspberry pi & rilakkuma
Raspberry pi & rilakkumaRaspberry pi & rilakkuma
Raspberry pi & rilakkumaMasafumi Ohta
 
トークセッション
トークセッショントークセッション
トークセッションMasafumi Ohta
 
Raspberry pi on java 20130514
Raspberry pi on java 20130514Raspberry pi on java 20130514
Raspberry pi on java 20130514Masafumi Ohta
 
Raspberry pi on java 20130510
Raspberry pi on java 20130510Raspberry pi on java 20130510
Raspberry pi on java 20130510Masafumi Ohta
 

Mais de Masafumi Ohta (20)

Raspberry pi history, tips and use case (coscup19)
Raspberry pi history, tips and use case (coscup19)Raspberry pi history, tips and use case (coscup19)
Raspberry pi history, tips and use case (coscup19)
 
Journey with the vineyard compressed
Journey with the vineyard compressedJourney with the vineyard compressed
Journey with the vineyard compressed
 
Let's play mini card-sized computer boards on the business!
Let's play mini card-sized computer boards on the business!Let's play mini card-sized computer boards on the business!
Let's play mini card-sized computer boards on the business!
 
Lt osc tokyo_gpd_micro_pc_edited
Lt osc tokyo_gpd_micro_pc_editedLt osc tokyo_gpd_micro_pc_edited
Lt osc tokyo_gpd_micro_pc_edited
 
Raspberry pi history, tips and use case
Raspberry pi history, tips and use caseRaspberry pi history, tips and use case
Raspberry pi history, tips and use case
 
Minio on Raspberry Pi
Minio on Raspberry PiMinio on Raspberry Pi
Minio on Raspberry Pi
 
20150604_RaspberryPi_Linuxcon
20150604_RaspberryPi_Linuxcon20150604_RaspberryPi_Linuxcon
20150604_RaspberryPi_Linuxcon
 
20150523 raspberry pi-for_osc_nagoya
20150523 raspberry pi-for_osc_nagoya20150523 raspberry pi-for_osc_nagoya
20150523 raspberry pi-for_osc_nagoya
 
20140521 Qcon資料
20140521 Qcon資料20140521 Qcon資料
20140521 Qcon資料
 
CLSx tokyo 2015 #0
CLSx tokyo 2015 #0CLSx tokyo 2015 #0
CLSx tokyo 2015 #0
 
Raspberry pi最新情報アップデート&いろいろ比較
Raspberry pi最新情報アップデート&いろいろ比較Raspberry pi最新情報アップデート&いろいろ比較
Raspberry pi最新情報アップデート&いろいろ比較
 
Raspberry Pi 最新情報 at OSC Tokyo 2014 秋
Raspberry Pi 最新情報 at OSC Tokyo 2014 秋Raspberry Pi 最新情報 at OSC Tokyo 2014 秋
Raspberry Pi 最新情報 at OSC Tokyo 2014 秋
 
CLSイベント企画について
CLSイベント企画についてCLSイベント企画について
CLSイベント企画について
 
Raspberry Pi最新情報 at OSC 2014 Hokkaido
Raspberry Pi最新情報 at OSC 2014 HokkaidoRaspberry Pi最新情報 at OSC 2014 Hokkaido
Raspberry Pi最新情報 at OSC 2014 Hokkaido
 
Raspberry pi on java at Java8 Launching Event in Japan
Raspberry pi on java at Java8 Launching Event in JapanRaspberry pi on java at Java8 Launching Event in Japan
Raspberry pi on java at Java8 Launching Event in Japan
 
Raspberry pi for beginners 20130623 osc nagoya
Raspberry pi for beginners 20130623 osc nagoyaRaspberry pi for beginners 20130623 osc nagoya
Raspberry pi for beginners 20130623 osc nagoya
 
Raspberry pi & rilakkuma
Raspberry pi & rilakkumaRaspberry pi & rilakkuma
Raspberry pi & rilakkuma
 
トークセッション
トークセッショントークセッション
トークセッション
 
Raspberry pi on java 20130514
Raspberry pi on java 20130514Raspberry pi on java 20130514
Raspberry pi on java 20130514
 
Raspberry pi on java 20130510
Raspberry pi on java 20130510Raspberry pi on java 20130510
Raspberry pi on java 20130510
 

Último

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Último (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Raspberry pi on java 20121110

  • 1. Raspberry PI on Java 35$PC Not PI Do Java Masafumi Ohta Lead of Japanese Raspberry PI UG.
  • 2. It’s Me Masafumi Ohta - Founded Japanese Raspberry PI Users Group in 2012.9 Working for CTC as OSS investigation
  • 3.
  • 4.
  • 5.
  • 7. Eben,founder of PI Founder of Rasberry PI Director of Broadcom Founding PI for Education teaching Programmings and Computer hardware =OLPC
  • 8. What’s PI it is for studying computer for K12 - how computer works and how to study ‘PITHON’,easy and basical lang. works Debian,Arclinux...and Android
  • 9. There are Revisions Rev.A - without ethernet (using usb) Rev.B 1.0 - with ethernet Rev.B 1.0 + ECN0001 (no fuses, D14 removed) - ? Perhaps we cant see in Japan Rev.B 2.0 - adding some improvements Rev.B 2.0 w/512MB - adding memories Latest!
  • 10. Check your Rev. *cat /proc/cpuinfo (need to check on latest OS) Model and revision Code(s) Model B Revision 1.0 2 Model B Revision 1.0 3 + ECN0001 (no fuses, D14 removed) Model B Revision 2.0 4,5,6 Model B Revision 2.0 (512 MB) 13,14,15 also you can check serial No. for maintenance
  • 11. Two Vendors for PI RS Components - manufactured in China.Now can order from Japan but it takes 2-3 month to get them :-( Element14 - manufactured by Sony in UK.but no channel reseller in Japan (now talking with CPC,sis company of element14 ),it take 1-2 week to get them :-)
  • 14. Needs enough to pack 10/100 ethernet - enough to work with electric power. no wifi - wifi eats electric power - sometime it wont boot actually with usb wifi (be carefull :-p) poor memories,CPU - it is for COST :-p
  • 15. GPIO Port You must check using PI serial line provided by GPIO NOT USB port. GPIO port assign very often changes updating the Revision of PI. Prepare Sparkfun DEV-09873 (3.3V NOT 5V) you can buy in Akibahara. careful 115200 bps to be used for serial
  • 16.
  • 17.
  • 18. Be careful using Need stable power running USB wifi. Need high-speed and stable SD card to running OS Use high-power and stable battery like Panasonic to use PI as mobile. (in my case it works for 8 hours) be careful USB port on Mac....often got kernel panic.(say abusing USB port)
  • 19.
  • 20. Poor CPU and Memories se d... taking care of memories and CPU. e lea nr bee as Bh top,such as measuring performance - must use for /5 12 M sizing Bw Rev Now
  • 22. Raspbian “wheezy” Default Destro.recommended OS Needs to update moving SD from w/256MB to w/ 512MB:’sudo apt-get update && sudo apt-get install raspi-config libraspberrypi*’ At first you should set ‘raspi-config’ Works good but veeery slow GUI,be careful Poor CPU,memories must be considered
  • 24.
  • 25.
  • 26. before get started Macbook (Unix PC) is prefer to use git must be used (if Mac need MacPort) if you use Oracle JVM you MUST use soft-float ABI Debian wheezy,or it won’t work. if soft-float ABI wheezy DO NOT forget to replace start.elf applied for 512MB.
  • 27. replace start.elf (if use soft-floatABI) git git://github.com/raspberrypi/firmware.git cd firmware;git checkout;git checkout -b 48f8bb0e47 cd boot;cp armXXX_start.elf /Volume/$SD_NAME/ start.elf (Mac OS X)
  • 28. Note:burn OS image on Mac diskutil list sudo diskutil umount /dev/disk1s1 sudo sudo dd if=2012-10-28-wheezy-raspbian.img of=/dev/rdisk1 bs=1m sudo diskutil umount /dev/disk1s1 after boot set ‘raspi-config’ and ‘expand_rootfs’ to expand filesystem
  • 29. Note:‘screen’ Command to use serial on Mac Plug USB to GPIO with DEV-09873,Not USB on Raspberry PI ls /dev/tty.* screen /dev/tty.usbserial-xxxxxxxx(serial No.) 115200
  • 30. Installing JamVM sudo apt-get install openjdk-7-jdk git libtool autoconf automake git clone git://git.berlios.de/jamvm;cd jamvm ./autogen.sh --with-java-runtime- library=openjdk7;make sudo cp src/.libs/libjvm.so /usr/lib/jvm/java-7- openjdk-armhf/jre/lib/arm/jamvm/ *http://labb.zafena.se/?p=576
  • 31. Install JamVM(Cont’d) sudo sed -i 's#-jamvm ERROR#-jamvm KNOWN#' /usr/lib/jvm/java-7-openjdk-armhf/ jre/lib/arm/jvm.cfg java -jamvm -version *http://labb.zafena.se/?p=576
  • 32. Using JamVM Jetty 9.0:http://download.eclipse.org/jetty/ stable-9/dist/ H2 Database:http://www.h2database.com/ h2-2012-09-09.zip
  • 33. Installing Node.js (soft-floatABI) Easy to install:using soft-floatABI wheezy git clone git://github.com/itwars/nodejs-ARM.git dpkg -i nodejs-ARM/ nodejs_0.8.14~squeeze_armel.deb *https://github.com/itwars/nodejs-ARM/
  • 34. Installing Node.js (hard-floatABI) Do NOT use latest git clone git://github.com/joyent/node.git cd node;git checkout v0.8.14-release ./configure && make sudo make install *https://github.com/wware/rpi-hacking
  • 35. JavaFX for ARM (beta) There were sessions for Raspberry PI for JavaFX,but now under development. check http://jdk7.java.net/fxarmpreview/javafx- arm-developer-preview.html but it is for beagleboard - am ARM based mini-board. need to use soft-floatABI wheezy to use Oracle JVM,or it won’t work use VNC not X11 remote. *https://blogs.oracle.com/javaone/entry/session_report_java_on_the
  • 36.
  • 37. Raspberry PI UG subscribe https://groups.google.com/d/forum/ japanese-raspberry-pi-users-group welcoming beginners (for studying) :-p help purchasing PI planning to attend some OSS event. Why don’t you join us! *note it is not concerned and sponsored by my company
  • 38. Thank you! Masafumi Ohta mailto:masafumi@pid0.org twitter:@masafumiohta subscribe please:https://groups.google.com/d/ forum/japanese-raspberry-pi-users-group

Notas do Editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n