[Armadillo:06531] Re: FW: FW: Re: Javaアプリを動かすには
Takenoshita Koyo
email@hidden
2011年 1月 14日 (金) 13:15:38 JST
$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$($^$9!#(B
(X$B$,5/F0$9$k$H!"2hLL$,3%?'(B/$B%a%C%7%e$K$J$k$O$:$G$9!#(B)
Armadillo-500 FX$B$NI8=`%$%a!<%8$G$9$H!"(B
/etc/init.d/xfbdev$B%9%/%j%W%H$G(BX$B$r5/F0$7$F$$$^$9!#(B
$B$^$:!"$3$l$,F0:n$7$F$$$k$+!"3NG'$7$^$9!#(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=<($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$&$K$J$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
>
>
>
> -----Original Message-----
> From: email@hidden [mailto:email@hidden] On Behalf Of Takenoshita Koyo
> Sent: Friday, January 07, 2011 5:44 PM
> To: Armadillo series general discussion list
> Subject: [Armadillo:06494] Re: Java$B%"%W%j$rF0$+$9$K$O(B
>
> $BC]G72<$G$9!#(B
>
>> java.lang.UnsupportedClassVersionError
> $B$H$$$C$F$$$k$N$G!"%P!<%8%g%s$,0[$J$k$3$H$,860x$J$N$G$O$J$$$G$7$g$&$+!)(B
> Google$B$G8!:w$7$F$_$k$H!"(B
> http://www.google.co.jp/search?q=java.lang.UnsupportedClassVersionError
> $B0lHV>e$K$3$s$J%Z!<%8$,=P$F$-$^$7$?!#(B
> http://www.ne.jp/asahi/hishidama/home/tech/java/exception.html
> $B?email@hidden$K!"BP=hK!$b=q$$$F$/$l$F$$$^$9!#(B
>
> $B$3$3$^$G$/$k$H!"(BArmadillo$B8GM-$NLdBj$G$OL5$/$J$C$F$/$k$N$G!"(BPC$B>e$G(B
> $BF0$+$7$F$bF1$87k2L$,F@$i$l$k$H;W$$$^$9!#(B
> Sable VM$B$GF0:n$5$;$?$$>l9g!"$^$:$O(BATDE2$B$GF0:n$r3NG'$7$F$+$i!"(BArmadillo$B$G(B
> $B;n$9$N$,NI$$$+$H;W$$$^$9!#(B
> $B$=$N>l9g!"IaDL$N(BPC$B$GF0:n$5$;$k$N$HJQ$o$j$"$j$^$;$s$N$G!"$I$N%P!<%8%g%s$r(B
> $B;H$C$?$iNI$$$+$O!"(BJava$B%"%W%j$r:email@hidden$7$?J}$KJ9$$$F$_$F$/$@$5$$!#(B
>
> $B$I$&$7$F$b(BSun Java$B$,I,MW$J>l9g$O!"0J2<$N(BJava SE for Embedded 6$B$rF0$+$9$3$H(B
> $B$b$G$-$J$/$O$J$$$G$9!#(B
> http://www.oracle.com/technetwork/java/embedded/downloads/index.html
>
> $B$=$N>l9g!"%f!<%6!<%i%s%I$+$iJQ$($J$1$l$P$J$i$J$$$N$G!"$+$J$j<j4V$,$+$+$j$^$9!#(B
> $B$$$:$l$K$;$h!"$^$:$O!"I,MW$H$7$F$$$k(BJava$B$N%P!<%8%g%s$r$43NG'$/$@$5$$!#(B
>
> email@hidden $B$5$s$O=q$-$^$7$?(B:
>> $BC]G72<MM$X(B
>> $B$*@$OC$K$J$C$F$*$j$^$9!#(BT$B<R>eB<$G$9!#(B
>>
>> $B$4;XE&$N(Bapt-get install$B%3%^%s%I$G!"(B free-java-sdk$B$r%$%s%9%H!<%k$7$F!"(Bjava --version$B%3%^%s%I$G!"=jK>$N(BSableVM version 1.13$B$,%$%s%9%H!<%k$5$l$?$3$H$r$+$/$K$s$7$^$7$?!#(B
>> $B4JC1$J(BJava$B%"%W%j(B(Frame$BFb$G(BLabel$B$rI=<($9$k$b$N(B)$B$r(B.jar$B%U%!%$%k$G:n$j!"(B/usr/bin$B$K%3%T!<$7$?8e!"0J2<$N%3%^%s%I$G<B9T$7$?$H$3$m!"0J2<$N%3%^%s%H$,I=<($5$l$^$7$?!#(BUnsupportedClassVersionError $B$HI=<($5$l$^$7$?!#(BJava$B%"%W%j$O!"(BEclipse3.6$B$G:email@hidden$7$F$*$j$^$9!#(B
>> $BF0:nITNI$G!"$45$IU$-$email@hidden$j$^$7$?$i!"$465<(D:$1$J$$$G$7$g$&$+!#(B
>> $B2?$H$>59$7$/$*4j$$CW$7$^$9!#(B($B0J2<$O(BArmadillo500FX$B$N(BTeraTerm$BI=<($G$9(B)
>>
>> debian:/usr/bin# java -classpath Hermes.jar
>> jp.Hermes.eclipse3_6.Hermes java.lang.UnsupportedClassVersionError
>> at java.lang.VMClassLoader.nativeDefineClass (VMClassLoader.java)
>> at java.lang.VMClassLoader.defineClass (VMClassLoader.java:130)
>> at java.lang.ClassLoader.defineClass (ClassLoader.java:679)
>> at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:108)
>> at java.net.URLClassLoader.findClass (URLClassLoader.java:955)
>> at java.lang.ClassLoader.loadClass (ClassLoader.java:359)
>> at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1333)
>> at java.lang.ClassLoader.loadClass (ClassLoader.java:310)
>> at java.lang.VirtualMachine.main (VirtualMachine.java:99)
>>
>> $B0J>e$G$9!#(B
>>
>>
>> -----Original Message-----
>> From: email@hidden
>> [mailto:email@hidden] On Behalf Of
>> Takenoshita Koyo
>> Sent: Thursday, December 16, 2010 7:08 PM
>> To: Armadillo series general discussion list
>> Subject: [Armadillo:06348] Re: Java$B%"%W%j$rF0$+$9$K$O(B
>>
>> $BC]G72<$G$9!#(B
>>
>>> $B8f;XE&$$$?$@$$$?(B[1]$B$N<jK!$G!"(BArmadillo-500 FX$B$N%f!<%6!<%i%s%I$r(BDebian$B$K$9$k$3$H$,=PMh$^$7$?!#(B
>>> Armadillo-500/fx$BMQ(BDebian GNU/Linux$B%"!<%+%$%V$O!"0J2<$N(BURL$B$h$j:G?7$NJ*$rF~<j$7$^$7$?!#(B
>>> http://lists.atmark-techno.com/pipe
>> $B>e5-$N%j%s%/$O!"%(%i!<$K$J$j$^$9$M!#(B
>> http://armadillo.atmark-techno.com/filebrowser/armadillo-500-fx/debian
>> $B$+$i$?$I$k$3$H$,$G$-$k!"(B
>> http://armadillo.atmark-techno.com/files/downloads/armadillo-500-fx/de
>> bian/debian-etch-arm5.tgz
>> $B$r$4;HMQ$G$7$g$&$+!)(B
>>
>>> (1)debian$B$N5/F0(B
>>> Armadillo-500 FX$B$N%=%U%H%&%'%"%^%K%e%"%k$N!V(B6.3.SSD$B%7%9%F%`$N5/F0!W$K5-=R$5$l$F$$$k?^(B6.5$B$N;XDjNc$I$*$j$N:n6H$G$h$$$N$G$7$g$&$+!)(B
>>> $B!!!!-!(BArmadillo-500 FX$B$rJ]<i%b!<%I$G5/F0(B
>>> $B!!!!-"(Bhermit> setenv console=ttymxc0 root=/dev/sda1 rootwait
>>> usb-storage.delay_use=0 noinitrd video=mxcfb:KYOCERA-VGA,16bpp,enable
>> $B$O$$!#NI$$$G$9!#(B
>>
>>> (2) OpenJDK$B!J(BJVM$B!K$N%$%s%9%H!<%k(B
>>> $B0J2<$N%3%^%s%I$r<B9T$9$l$P$h$$$N$G$7$g$&$+!)(B
>>> apt-get update && apt-get upgrade
>>> apt-get install openjdk-6-jre
>> Debian etch $B$N(B arm $B$G$O!"(Bopenjdk$B$O;H$($J$$$h$&$G$9!#(B
>>
>> free-java-sdk $B$H$$$&%Q%C%1!<%8$,(B apt $B$G4JC1$K%$%s%9%H!<%k$G$-$^$9!#(B
>>
>> $B$^$:!"(B/etc/apt/sources.list $B$K0l9TDI2C$7$F!"0J2<$N$h$&$KJQ99$7$F$/$@$5$$!#(B
>> deb http://archive.debian.org/debian etch main deb
>> http://archive.debian.org/debian etch non-free
>>
>> $B$=$7$F!"%-%c%C%7%e$r%"%C%W%G!<%H$7$?$"$H!"(Bfree-java-sdk$B%Q%C%1!<%8$r%$%s%9%H!<%k$7$^$9!#(B
>> debian:~# apt-get update
>> debian:~# apt-get install free-java-sdk
>>
>> $B0MB8$9$k?'!9$J%Q%C%1!<%8$b%$%s%9%H!<%k$7$F$bNI$$$+J9$+$l$k$N$G!"(By$B$HEz$($F$/$@$5$$!#(B
>>
>> $B%$%s%9%H!<%k$,40N;$9$k$H!"(Bjava$B%3%^%s%I$,;H$($k$h$&$K$J$j$^$9!#(B
>>
>> debian:~# java --version
>> SableVM version 1.13
>> - compile date and time: 2006-09-09 15:34:20 UTC
>> - gcc version: 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)
>> - 'real life brokenness' features enabled
>> - signal based exception detection
>> - copying garbage collection
>> - bidirectional object layout
>> - direct-threaded interpreter
>>
>> $BCf?H$O(B SableVM $B$H$$$&$b$N$N$h$&$G$9!#(B
>> sun java($B:#$O(Boracle java?)$B$H$O!"40A4$K8_49$H$$$&$o$1$K$O$$$+$J$$$G$9$,!"(B
>> $B0l1~(B java $B$O;H$($k$h$&$K$J$j$^$9!#(B
>>
>> email@hidden $B$5$s$O=q$-$^$7$?(B:
>>> $BC]G72<!!MM$X(B
>>> $B$*@$OC$K9g$C$F$*$j$^$9!#(BT$B<R!!>eB<$G$9!#(B
>>> $B8f;XE&$$$?$@$$$?(B[1]$B$N<jK!$G!"(BArmadillo-500 FX$B$N%f!<%6!<%i%s%I$r(BDebian$B$K$9$k$3$H$,=PMh$^$7$?!#(B
>>> Armadillo-500/fx$BMQ(BDebian GNU/Linux$B%"!<%+%$%V$O!"0J2<$N(BURL$B$h$j:G?7$NJ*$rF~<j$7$^$7$?!#(B
>>> http://lists.atmark-techno.com/pipe
>>>
>>> $B0J2<$NMWNN$G!"(BOpenJDK$B!J(BJVM$B!K$r%$%s%9%H!<%k$7$h$&$H9M$($F$$$k$N$G$9$,!"0J2<$NE@$,NI$/2r$j$^$;$s!#?=$7Lu$"$j$^$;$s$,!"$465<(D:$1$J$$$G$7$g$&$+!#(B
>>> (1)debian$B$N5/F0(B
>>> Armadillo-500 FX$B$N%=%U%H%&%'%"%^%K%e%"%k$N!V(B6.3.SSD$B%7%9%F%`$N5/F0!W$K5-=R$5$l$F$$$k?^(B6.5$B$N;XDjNc$I$*$j$N:n6H$G$h$$$N$G$7$g$&$+!)(B
>>> $B!!!!-!(BArmadillo-500 FX$B$rJ]<i%b!<%I$G5/F0(B
>>> $B!!!!-"(Bhermit> setenv console=ttymxc0 root=/dev/sda1 rootwait
>>> usb-storage.delay_use=0 noinitrd video=mxcfb:KYOCERA-VGA,16bpp,enable
>>>
>>> (2) OpenJDK$B!J(BJVM$B!K$N%$%s%9%H!<%k(B
>>> $B0J2<$N%3%^%s%I$r<B9T$9$l$P$h$$$N$G$7$g$&$+!)(B
>>> apt-get update && apt-get upgrade
>>> apt-get install openjdk-6-jre
>>>
>>> (3)java$B%"%W%j%1!<%7%g%s$N<B9T(B
>>>
>>> $B0J>e!"59$7$/$*4j$$CW$7$^$9!#(B
>>>
>>>
>>> -----Original Message-----
>>> From: email@hidden
>>> [mailto:email@hidden] On Behalf Of
>>> Takenoshita Koyo
>>> Sent: Wednesday, October 27, 2010 2:34 PM
>>> To: Armadillo series general discussion list
>>> Subject: [Armadillo:06008] Re: Java$B%"%W%j$rF0$+$9$K$O(B
>>>
>>> $BC]G72<$G$9!#(B
>>>
>>> $BK\(BML$B$N2a5n%m%0$N0J2<$N%9%l%C%I$G!"(BArmadillo-400$B%7%j!<%:8~$1$G$9$,(B
>>> $B0J2<$N$h$&$J$d$j$H$j$,$"$j$^$7$?!#(B
>>> http://lists.atmark-techno.com/pipermail/armadillo/2010-May/005188.ht
>>> ml
>>>
>>> $BA*Br;h$H$7$F$O!"(BSunJava$B$+(BOpenJDK$B$,$"$j$^$9!#(B
>>>
>>> $BCm0UE@$H$7$F$O!"(B
>>> SunJava$B$O(BEABI$BMQ$7$+MQ0U$5$l$F$$$J$$$N$G!"(BArmadillo-500 FX$BMQ$N%+!<%M%k$H(B
>>> $B%f!<%6!<%i%s%I$r(BEABI$B$K$7$J$1$l$P$J$j$^$;$s!#(B($B%+!<%M%k$H%f!<%6!<%i%s%I(B
>>> $B$r%=!<%9$+$i%S%k%I$9$kI,MW$,$"$j$^$9!#(B)
>>>
>>> OpenJDK$B$O!"(BArmadillo-500 FX$B$N%f!<%6!<%i%s%I$r(BDebian$B$K$9$l$P(B[1]$B!"(B
>>> apt-get install$B%3%^%s%I$G%$%s%9%H!<%k$G$-$k$H;W$$$^$9!#$?$@$7!"(B
>>> Armadillo-500 FX$BMQ$KDs6!$7$F$$$k(BDebian$B%f!<%6!<%i%s%I$O(BEtch$B$J$N$G!"(B
>>> $B>/$78E$$$G$9!#(Bapt-get$B%3%^%s%I$r;HMQ$9$k>l9g$O!"(B[2]$B$N%9%l%C%I$G(Bmizo$B$,(B
>>> $B;XE&$7$F$$$k:n6H$,I,MW$K$J$j$^$9!#(B
>>>
>>> [1]
>>> http://manual.atmark-techno.com/armadillo-500-fx/armadillo-500-fx-sof
>>> tware-manual/ch06#sec-6-3-1 [2]
>>> http://lists.atmark-techno.com/pipermail/armadillo/2010-October/00600
>>> 4.html
>>>
>>> email@hidden $B$5$s$O=q$-$^$7$?(B:
>>>> $B$*@$OC$K$J$C$F$*$j$^$9!#(B
>>>>
>>>> T$B<R$N>eB<$G$9!#(B
>>>>
>>>> Java$B%"%W%j%1!<%7%g%s$r(BArmadillo500FX$B>e$GF0:n$5$;$?$$$N$G$9$,!"$I$N$h$&$K(B
>>>> $B<BAu$9$l$P$h$$$+$,2r$j$^$;$s!#(B
>>>>
>>>> $B$I$N$?$+$47P83$N$"$kJ}$,5o$i$l$^$7$?$i!"%"%I%P%$%9$rD:$1$J$$$G$7$g$&$+!#(B
>>>>
>>>> Java$BMQ$N2>A[%^%7%s$O!"4D6-$K$"$k$N$G$7$g$&$+!#(B
>>>>
>>>> $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
>>>>
>>>>
>>>>
>>>>
>>>> --------------------------------------------------------------------
>>>> ----
>>>>
>>>> _______________________________________________
>>>> armadillo mailing list
>>>> email@hidden
>>>> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>>>
>>> ---------------------------------------------------------------------
>>> ---
>>>
>>> _______________________________________________
>>> armadillo mailing list
>>> email@hidden
>>> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>>
>>
>> ----------------------------------------------------------------------
>> --
>>
>> _______________________________________________
>> armadillo mailing list
>> email@hidden
>> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>
>
> --
> Koyo Takenoshita
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> armadillo mailing list
> email@hidden
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
--
Koyo Takenoshita
armadillo メーリングリストの案内