[Armadillo:06774] Debian lenny で Java (Open JDK) を使う
email@hidden
2011年 2月 8日 (火) 13:32:49 JST
$B$*@$OC$K$J$C$F$*$j$^$9!#(J
$BEl<G$N>eB<$G$9!#(J
$B$*K;$7$$$H$3$m!"??$K?=$7Lu$"$j$^$;$s$,!"$465<(D:$1$J$$$G$7$g$&$+!#(J
$B0J2<$N(JURL$B$N<j=g$K1h$C$F!"(JDebian lenny $B$G(J Java (Open JDK) $B$r;H$&4D6-$r9=C[$7$F$*$j$^$9!#(J
URL$B$N#39`$H#49`$K4X$7$F!">/!9!"email@hidden@$r$7$FD:$$$F$b$h$$$G$7$g$&$+!#(J
http://armadillo.atmark-techno.com/howto/openjdk-debian-lenny
3. Java $B3+H/4D6-$N%$%s%9%H!<%k(J
$B:n6HMQ(J PC $B$K(J Java $B3+H/4D6-$r%$%s%9%H!<%k$7$^$9!#:n6HMQ(J PC $B$G0J2<$N%3%^%s%I$r<B9T$7$F$/$@$5$$!#(J
[PC ~]$ sudo apt-get install openjdk-6-jdk
$B!Z-!![(J
$B!V(JVMwrae$B$X3+H/4D6-(J($B:n6HMQ(JPC): ATDE v3 v20100309$B$r%;%C%H$7$?CJ3,$G!"(JSun Java$B!!(J5.0$B!!(Jconsole$B$H$$$&$b$N$,4{$K%$%s%9%H!<%k$5$l$F$$$^$9$,!"$3$N%D!<%k$r;HMQ$7$F!"(JHelloWorld.java $B$r:email@hidden$9$k$N$G$7$g$&$+!)!##39`!J(JJava $B3+H/4D6-$N%$%s%9%H!<%k!K$G%$%s%9%H!<%k$9$k(JJava $B3+H/4D6-$H$N4XO"$,NI$/2r$+$j$^$;$s!W(J
$B!Z-"![(J
$B!V4{$K;}$C$F$*$j$^$7$?(JWindows$B4D6-$GF0:n$9$k(JEclipse3.6$B!J%7%9%F%`%i%$%V%i%j!<$r(JjavaSE-1.6$B$email@hidden!K$r;HMQ$7$F:email@hidden$7$?(J.java$B%U%!%$%k$r!"3+H/(JPC$B4D6-$G(J[PC ~]$ javac HelloWorld.java$B%3%^%s%I$r<B9T$7$F:email@hidden$7$?(J.class$B%U%!%$%k$r(JArmadillo$B$K<B9T$7$?$N$G$9$,!"0J2<$N$h$&$K%a%C%;!<%8$,I=<($5$l$F!"<B9T$G$-$^$;$s$G$7$?!#(JEclipse3.6$B4D6-$G:email@hidden$7$?(J.java$B%U%!%$%k$O!"(JArmadillo$B4D6-$G$O!";HMQ$G$-$J$$$N$G$7$g$&$+!)!W(J
debian:/usr# startx $(which java) HelloWorldGui
X: warning; process set to priority -1 instead of requested priority 0
X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-10.lenny3)
Current Operating System: Linux debian 2.6.26-at13 #1 PREEMPT Thu Jan 20 17:40:32 JST 2011 armv6l
Build Date: 25 September 2010 02:52:58PM
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May 9 22:55:46 2000
(==) Using config file: "/etc/X11/xorg.conf"
xf86optionListCreate: count must be an even number.
State: S_UNTOUCHED Action: No Action Button: 0
State: S_TOUCHED Action: No Action Button: 0
State: S_LONGTOUCHED Action: down Button: 1
State: S_MOVING Action: No Action Button: 0
State: S_MAYBETAPPED Action: click Button: 1
State: S_ONEANDAHALFTAP Action: down Button: 3
[config/hal] couldn't initialise context: (null) ((null))
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldGui (wrong name: jp/tc31501/eclipse/HelloWorldGui)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:637)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: HelloWorldGui. Program will exit.
waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
$B!V(J4. $B%5%s%W%k%W%m%0%i%`(J($BHs(JGUI)
$B%?!<%_%J%k$K!V(JHello World$B!W$HI=<($9$k$@$1$N(JJava$B%"(J$B%W%j$r:email@hidden$7!"<B9T$7$F$_$^$9!#(J
$B:n6HMQ(J PC $B$G0J2<$N(J HelloWorld.java $B$r:email@hidden$7$F$/$@$5$$!#(J
HelloWorld.java$B!W(J
$B!Z-#![(J
$B!V(JSun Java$B!!(J5.0$B!!(Jconsole$B$r;HMQ$7$F!"#49`$N(JHelloWorld.java$B$r:email@hidden$9$k$N$G$7$g$&$+!)(J $B!W(J
$B??$K?=$7Lu$"$j$^$;$s$,!"$h$m$7$/$*4j$$CW$7$^$9!#(J
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://lists.atmark-techno.com/pipermail/armadillo/attachments/20110208/d0ba9da8/attachment.html>
armadillo メーリングリストの案内