[Armadillo:06494] Re: Javaアプリを動かすには

Takenoshita Koyo email@hidden
2011年 1月 7日 (金) 17:43:38 JST


$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/debian/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.html
>>
>> $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-software-manual/ch06#sec-6-3-1
>> [2] http://lists.atmark-techno.com/pipermail/armadillo/2010-October/006004.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 メーリングリストの案内