[Armadillo:06541] Re: FW: FW: Re: Javaアプリを動かすには
Takenoshita Koyo
email@hidden
2011年 1月 14日 (金) 20:05:19 JST
$BC]G72<$G$9!#(B
email@hidden $B$5$s$O=q$-$^$7$?(B:
> $BC]G72<MM$X(B
$B%a!<%j%s%0%j%9%H$G$9$N$G!";d0J30$NJ}$,Ez$($F$bA4$/LdBj$"$j$^$;$s!#(B
$B$=$N$?$a!"L>A0$N;XDj$O$7$J$/$F$bNI$$$G$9$h!#(B
> $B-!(BDebian$B$O%$%s%9%H!<%k:Q$_$G$"$k$?$a!"0J2<$N<j=g$r<B;\$9$l$P$h$$$N$G$7$g$&$+!)(B
>> 2. X Window System $B$N%$%s%9%H!<%k(B
$B$=$&$G$9$M!#!V(B2. X Window System $B$N%$%s%9%H!<%k!W$H!V(B3. X Window System $B$N5/F0!W$r(B
$B$9$l$PNI$$$H;W$$$^$9!#(B
$B$?$@!"@h$N%a!<%k$G$b=q$$$?$h$&$K!V(B2. X Window System $B$N%$%s%9%H!<%k!W$N<j=g$G!"(B
/etc/X11/xorg.conf$B$X$N=$@5$O(BHowto$B$=$N$^$^$H$$$&$o$1$K$O$$$+$J$$$h$&$G$9!#(B
($B;d$b$I$N$h$&$email@hidden$7$?$iNI$$$+$NEz$($r;}$C$F$$$^$;$s!#(B)
> $B-"(BHowto$B$N5-=R$G!"%W%m%s%W%H$,(B [armadillo ~]# $B$H$J$C$F$$$^$9$,!"8=:_!"EE8;EjF~8e!"(Bdebian$B$,5/F0$9$k$h$&$K$J$C$F$*$j$^$9$,!"%W%m%s%W%H$,(Bdebian:/#$B$N>uBV$G!"0J2<$N%3%^%s%I$r<B9T$7$F$bNI$$$N$G$7$g$&$+!)(B
$B$O$$!#NI$$$G$9!#(B
> $B-#0JA0!"(BDebian$B$r%$%s%9%H!<%k$7$?;~$K!"(B/etc/apt/sources.list $B$K0J2<$N$h$&$K0l9TDI2C$7$?$N$G$9$,!":#2s$O2?$email@hidden$7$J$/$FNI$$$N$G$7$g$&$+!)(B
> deb http://archive.debian.org/debian etch main deb http://archive.debian.org/debian etch non-free
/etc/apt/sources.list$B$K!">e5-$N$h$&$K(Barchive$B$N9T$,$"$l$P!"=$@5$9$kI,MW$O$"$j$^$;$s!#(B
> $B-$(B/etc/apt/sources.list $B$K0J2<$N$h$&$K0l9TDI2C$7$F!"%@%&%s%m!<%I$7$?$N$G!"(Betch$B$H9M$($F$$$k$N$G$9$,4V0c$C$F$J$$$G$7$g$&$+!)(B
$B$O$$!#(Betch$B$G$9!#(B
email@hidden $B$5$s$O=q$-$^$7$?(B:
> $BC]G72<MM$X(B
> $BEl<G$N>eB<$G$9!#(B
> $B$4JV?.BgJQM-Fq$&8f:B$$$^$9!#(B
>
> $B0J2<$NE@!"-!!A-$$K4X$7$F$465<(D:$1$J$$$G$7$g$&$+!#(B
> $B$*K;$7$$$H$3$m??$K?=$7Lu$"$"%j$^$;$s$,!"2?$H$>59$7$/$*4j$$CW$7$^$9!#(B
>
> $B-!(BDebian$B$O%$%s%9%H!<%k:Q$_$G$"$k$?$a!"0J2<$N<j=g$r<B;\$9$l$P$h$$$N$G$7$g$&$+!)(B
>
>> 2. X Window System $B$N%$%s%9%H!<%k(B
>> $B%G%#%9%W%l%$$K@\B3$7$F(BArmadillo-9$B$r5/F08e!":G=i$KF|K\8l$rI=<($G$-$k$h$&$K$7$^$9!#(B
>
>> [armadillo ~]# apt-get update
>> [armadillo ~]# apt-get install xfonts-base
>> [armadillo ~]# apt-get install jfbterm
>> $B<!$K(BX Window System$B$r%$%s%9%H!<%k$7$^$9!#(B
>
> $B-"(BHowto$B$N5-=R$G!"%W%m%s%W%H$,(B [armadillo ~]# $B$H$J$C$F$$$^$9$,!"8=:_!"EE8;EjF~8e!"(Bdebian$B$,5/F0$9$k$h$&$K$J$C$F$*$j$^$9$,!"%W%m%s%W%H$,(Bdebian:/#$B$N>uBV$G!"0J2<$N%3%^%s%I$r<B9T$7$F$bNI$$$N$G$7$g$&$+!)(B
>
>
>> [armadillo ~]# apt-get install x-window-system-core
>> x-window-system-core$B$N%$%s%9%H!<%kCf!"%-!<%\!<%I$d%^%&%9!"%G%#%9%W%l%$$email@hidden$K$D$$$F<ALd$5$l$^$9$,!"(Bsarge$B$H(Betch$B$GFbMF$,0[$J$j$^$9!#(B
>
> $B-#0JA0!"(BDebian$B$r%$%s%9%H!<%k$7$?;~$K!"(B/etc/apt/sources.list $B$K0J2<$N$h$&$K0l9TDI2C$7$?$N$G$9$,!":#2s$O2?$email@hidden$7$J$/$FNI$$$N$G$7$g$&$+!)(B
> deb http://archive.debian.org/debian etch main deb http://archive.debian.org/debian etch non-free
>
>
>> sarge$B$N>l9g!"%$%s%9%H!<%kCf$K$$$m$$$m<ALd$5$l$^$9$,!"$[$H$s$I$O$=$N$^$^(Breturn$B$r2!$;$P$h$$$G$9!#(B $BJQ99$7$?$[$&$,NI$$It(B> > $BJ,$O!"(B
>
>> $B%-!<%\!<%I%b%G%k$NA*Br(B : pc106($B;HMQ$7$F$$$k%-!<%\!<%I$K$h$j$^$9(B)
>> $B%-!<%\!<%I%l%$%"%&%H(B : jp($B;HMQ$7$F$$$k%-!<%\!<%I$K$h$j$^$9(B)
> v$B%^%&%9%]!<%H$NA*Br(B : /dev/input/mice
>> $B2rA|EY(B : 640 x 480 $B$@$1A*Br(B
>> $B?'$N?<EY$N%S%C%H?t(B : 16bit
>> $B$0$i$$$G$9!#(B
>
>> etch$B$N>l9g!"2rA|EY0J30$O<+F0$email@hidden$5$l$^$9$N$G!"(B
>
> $B-$(B/etc/apt/sources.list $B$K0J2<$N$h$&$K0l9TDI2C$7$F!"%@%&%s%m!<%I$7$?$N$G!"(Betch$B$H9M$($F$$$k$N$G$9$,4V0c$C$F$J$$$G$7$g$&$+!)(B
> deb http://archive.debian.org/debian etch main deb http://archive.debian.org/debian etch non-free
>
>> $B2rA|EY(B : 640 x 480 $B$@$1A*Br(B
>> $B$H$7$?8e!"(Bvi$B$G0J2<$N=$@5$r9T$C$F$/$@$5$$!#(B
>
>
>> [armadillo ~]# vi /etc/X11/xorg.conf
> v..
>> Section "Module"
> .> .
> > #Load "glx" # <--- $B%3%a%s%H%"%&%H(B
>> ..
>>
>> Section "Screen"
>> ..
>> DefaultDepth 16 # <--- depth$B$r(B16bit$B$KJQ99(B
>
>> $B"(2rA|EY$d?'$N?<EY$rJQ99$7$?$$>l9g$O(B $B2rA|EY$H?'?<EY$NJQ99(B $B$r;2>H$7$F$/$@$5$$!#(B
>
>> 3. X Window System $B$N5/F0(B
>> X Window System$B$r5/F0$7$^$9!#(B
>> [armadillo ~]# startx
>
>
> -----Original Message-----
> From: email@hidden [mailto:email@hidden] On Behalf Of Takenoshita Koyo
> Sent: Friday, January 14, 2011 3:15 PM
> To: Armadillo series general discussion list
> Subject: [Armadillo:06536] Re: FW: FW: Re: Java$B%"%W%j$rF0$+$9$K$O(B
>
>> Armadillo-9$B$NNc$G$9$,!"0J2<$,;29M$K$J$k$N$G$O$J$$$+$H;W$$$^$9!#(B
>> http://armadillo.atmark-techno.com/howto/debian-x-window
>
> $BK\(BML$B$N2a5n%m%0$G$b?'!9$JJ}$,>pJs$r$d$j$H$j$7$F$$$k$N$G!"$=$A$i$b;29M$K$7$F$_$F$/$@$5$$!#(B
> http://lists.atmark-techno.com/pipermail/armadillo/2010-January/004900.html
> http://lists.atmark-techno.com/pipermail/armadillo/2010-February/004948.html
>
> Howto$B$=$N$^$^$@$H!"F~NO4XO"$GLdBj$,$"$j$=$&$G$9!#(B
>
> Takenoshita Koyo $B$5$s$O=q$-$^$7$?(B:
>>> xfbdev$B$N%W%m%;%9$r<B9T$9$email@hidden$r$465<(D:$1$J$$$G$7$g$&$+!#(B
>> $B$9$_$^$;$s!#(BArmadillo-500 FX$B>e$G(BDebian$B$rF0$+$7$F$$$?$N$G$7$?$M!#(B
>> xfbdev$B$O!"(BAtmark Dist$B$G%f!<%6!<%i%s%I$r:n$C$?>l9g$NOC$G$7$?!#(B
>> $B$^$?OC$r:.Mp$5$;$F$7$^$$$^$7$?!#?=$7Lu$"$j$^$;$s!#(B
>>
>> xfbdev$B$NOC$O!"<h$j9g$($:K:$l$F$/$@$5$$!#(B
>>
>> $B2]Bj$O!"!V(BArmadillo-500 FX$B>e$GF0:n$9$k(BDebian$B$G(BX$B$r5/F0$5$;$k$K$O$I$&$7$?$iNI$$$+!)!W(B
>> $B$KJQ$o$j$^$9!#(B
>>
>> Armadillo-9$B$NNc$G$9$,!"0J2<$,;29M$K$J$k$N$G$O$J$$$+$H;W$$$^$9!#(B
>> http://armadillo.atmark-techno.com/howto/debian-x-window
>>
>> $B:#2s$O!"!V(B3. X Window System $B$N5/F0!W$^$G$N<j=g$GBg>fIW$@$H;W$$$^$9!#(B
>>
>> email@hidden $B$5$s$O=q$-$^$7$?(B:
>>> $BC]G72<MM$X(B
>>> $BEl<G$N>eB<$G$9!#(B
>>> $B$4JV?.BgJQM-Fq$&8f:B$$$^$9!#(B
>>>
>>> $B8=:_!"(BJava$B$N(BVM$B$H$7$F(BSableVM$B$r;HMQ$7$F$*$j$^$9!#(B
>>> $B<B9T$5$l$F$$$k%W%m%;%9$r0J2<$N$h$&$KI=<($7$?$N$G$9$,!"(Bxfbdev$B$N%W%m%;%9$O<B9T$5$l$F$$$J$$$h$&$K8+<u$1$i$l$^$9!#(B
>>> xfbdev$B$N%W%m%;%9$r<B9T$9$email@hidden$r$465<(D:$1$J$$$G$7$g$&$+!#(B
>>> $B$*K;$7$$$H$3$m??$K?=$7Lu$"$j$^$;$s$,!"59$7$/$*4j$$CW$7$^$9!#(B
>>>
>>> debian:/etc/init.d# ps -e
>>> PID TTY TIME CMD
>>> 1 ? 00:00:00 init
>>> 2 ? 00:00:00 kthreadd
>>> 3 ? 00:00:00 ksoftirqd/0
>>> 4 ? 00:00:00 events/0
>>> 5 ? 00:00:00 khelper
>>> 6 ? 00:00:00 kblockd/0
>>> 7 ? 00:00:00 mxc_spi.2
>>> 8 ? 00:00:00 khubd
>>> 9 ? 00:00:00 kmmcd
>>> 10 ? 00:00:00 pdflush
>>> 11 ? 00:00:00 pdflush
>>> 12 ? 00:00:00 kswapd0
>>> 13 ? 00:00:00 aio/0
>>> 14 ? 00:00:00 mtdblockd
>>> 15 ? 00:00:00 scsi_eh_0
>>> 16 ? 00:00:00 usb-storage
>>> 18 ? 00:00:00 kjournald
>>> 99 ? 00:00:00 udevd
>>> 1123 ? 00:00:00 dhclient3
>>> 1219 ? 00:00:00 syslogd
>>> 1225 ? 00:00:00 klogd
>>> 1244 ? 00:00:00 cron
>>> 1266 tty1 00:00:00 getty
>>> 1268 ttymxc0 00:00:00 login
>>> 1270 ttymxc0 00:00:00 bash
>>> 1290 ttymxc0 00:00:00 ps
>>>
>>> debian:/etc/init.d# ps x
>>> PID TTY STAT TIME COMMAND
>>> 1 ? Ss 0:00 init [2]
>>> 2 ? S< 0:00 [kthreadd]
>>> 3 ? S< 0:00 [ksoftirqd/0]
>>> 4 ? S< 0:00 [events/0]
>>> 5 ? S< 0:00 [khelper]
>>> 6 ? S< 0:00 [kblockd/0]
>>> 7 ? S< 0:00 [mxc_spi.2]
>>> 8 ? S< 0:00 [khubd]
>>> 9 ? S< 0:00 [kmmcd]
>>> 10 ? S 0:00 [pdflush]
>>> 11 ? S 0:00 [pdflush]
>>> 12 ? S< 0:00 [kswapd0]
>>> 13 ? S< 0:00 [aio/0]
>>> 14 ? S< 0:00 [mtdblockd]
>>> 15 ? S< 0:00 [scsi_eh_0]
>>> 16 ? S< 0:00 [usb-storage]
>>> 18 ? S< 0:00 [kjournald]
>>> 99 ? S<s 0:00 udevd --daemon
>>> 1123 ? Ss 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib
>>> 1219 ? Ss 0:00 /sbin/syslogd
>>> 1225 ? Ss 0:00 /sbin/klogd -x
>>> 1244 ? Ss 0:00 /usr/sbin/cron
>>> 1266 tty1 Ss+ 0:00 /sbin/getty 38400 tty1
>>> 1268 ttymxc0 Ss 0:00 /bin/login --
>>> 1270 ttymxc0 S 0:00 -bash
>>> 1303 ttymxc0 R+ 0:00 ps x
>>>
>>> $B0J>e$G$9!#(B
>>>
>>> -----Original Message-----
>>> From: email@hidden
>>> [mailto:email@hidden] On Behalf Of
>>> Takenoshita Koyo
>>> Sent: Friday, January 14, 2011 1:16 PM
>>> To: Armadillo series general discussion list
>>> Subject: [Armadillo:06531] Re: FW: FW: Re: Java$B%"%W%j$rF0$+$9$K$O(B
>>>
>>> $BC]G72<$G$9!#(B
>>>
>>> Java$B$N(BVM$B$H$7$F(BSableVM$B$r;H$o$l$F$$$^$9$+!)(B
>>> $BOC$,?'!9$J$H$3$m$KH/;6$7$F$7$^$C$F$$$^$9$N$G!"F0:n4D6-$J$I>\$7$/=q$$$F$$$?$@$1$k$H!"(B
>>> $B?'!9$JJ}$,2sEz$7$d$9$$$+$H;W$$$^$9!#(B
>>>
>>>> debian:/mnt/usbdata/java# java -jar TC31501.jar
>>>> (.:1333): Gtk-WARNING **: cannot open display:
>>> $B$H$J$k$H$N$3$H$G$9$,!"(BTC31501.jar$B$H$$$&%W%m%0%i%`$,$I$N$h$&$J$b$N$J$N$+J,$+$j$^$;$s$N$G!"(B
>>> $B860x$b?dB,$9$k$3$H$7$+$G$-$^$;$s!#(B
>>>
>>> $B?dB,$K$J$j$^$9$,!"<+J,$G$"$l$P0J2<$NE@$rD4$Y$^$9!#(B
>>>
>>> TC31501.jar$B$,(BX Window System$B$r;H$C$FIA2h$9$k%W%m%0%i%`$G$"$k>l9g!"(B
>>> X Window$B%5!<%P!<$,5/F0$7$F$$$kI,MW$,$"$j$^$9$,!"(B
>>>> $B"M$7$+$7!"(BArmadillo500FX$B$N(BDisplay$B$O!"%Z%s%.%s$N3($H(B
>>>> Debian$B!!(BGNU/Linux$B!!(B4.0$B!!(Bdebian$B!!(Btty1
>>>> debian$B!!(Blogin$B!'(B
>>>> $B$H$$$&>uBV$G;_$^$C$F$*$j$^$9!#(B
>>> $B$H$N>pJs$+$i!"(BX$B$,5/F0$7$F$$$J$$$h$&$K;W$($^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>>>>
>>>> $B$*K;$7$$$H$3$m??$K?=$7Lu$"$j$^$;$s$,(B
>>>> $BC]G72<MM$X(B
>>>> $B$4JV?.M-Fq$&8f:B$$$^$9!#(BToshiba$B$N>eB<$G$9!#(B
>>>>
>>>> $B3+H/4D6-(BEclipse3.6$B$K$F!"(BJRE$B%7%9%F%`%i%$%V%i%j$r!"(BJ2SE-1.4$B$KJQ99$7$F!"%W%m%0%i%`$r(B.jar$B%U%!%$%k$XJQ49$7$F!"(BArmadillo500FX$B$G<B9T$7$?$H$3$m!"!V(Bjava.lang.UnsupportedClassVersionError$B!W$OI=<($5$l$J$$$h$&$K$J$C$?$N$G$9$,!"BX$o$j$K0J2<$N%a%C%;!<%8!J(Bcannot open display$B!K$,I=<($5$l$F$$$^$9!#(B
>>>> debian:/mnt/usbdata/java# java -jar TC31501.jar
>>>> (.:1333): Gtk-WARNING **: cannot open display:
>>>>
>>>> Debian$B$r%$%s%9%H!<%k$7$?(BArmadillo500FX$B$rN)$A>e$2$k$H!"(BRS232C$B7PM3$GI=<($9$k(BTeraTerm$B$N2hLL$O!"0J2<$N$h$&(B
>>>> $B$K$J(B
>>>> $B$j!"(Broot$B$G%m%0%$%s$G$-$k$N$G$9$,!""M(B
>>>> Starting periodic command scheduler: crond.
>>>> Debian GNU/Linux 4.0 debian ttymxc0
>>>> debian login: root
>>>> Last login: Thu Apr 13 23:16:11 2000 on ttymxc0 Linux debian 2.6.26-at6 #1 PREEMPT Fri Jun 19 16:10:46 JST 2009 armv6l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
>>>> Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
>>>> debian:~#
>>>>
>>>> $B"M$7$+$7!"(BArmadillo500FX$B$N(BDisplay$B$O!"%Z%s%.%s$N3($H(B
>>>> Debian$B!!(BGNU/Linux$B!!(B4.0$B!!(Bdebian$B!!(Btty1
>>>> debian$B!!(Blogin$B!'(B
>>>> $B$H$$$&>uBV$G;_$^$C$F$*$j$^$9!#(B
>>>> $B$3$N>uBV$O!">e5-$N(Bjava -jar TC31501.jar$B$G(BJava$B%W%m%0%i%`$r<B9T$7$?;~$HF1$8>uBV$G$9!#(B
>>>> DISPLAY $B$N4D6-JQ?t$rJQ99$9$kI,MW$J$I$,$"$k$N$G$7$g$&$+!)(B
>>>> $B$*K;$7$$$H$3$m??$K?=$7Lu$"$j$^$;$s$,!"2?$H$>59$7$/$*4j$$CW$7$^$9!#(B
--
Koyo Takenoshita
armadillo メーリングリストの案内