From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: fi_fi08 Newsgroups: gmane.emacs.help Subject: Emacs help Date: Tue, 10 Mar 2009 11:38:13 -0700 (PDT) Message-ID: <22440827.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236753303 14335 80.91.229.12 (11 Mar 2009 06:35:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Mar 2009 06:35:03 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 11 07:36:19 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LhI2y-0007uK-Ty for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Mar 2009 07:36:09 +0100 Original-Received: from localhost ([127.0.0.1]:49767 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhI1d-0008JP-6U for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Mar 2009 02:34:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lh6qH-0000zH-Fy for help-gnu-emacs@gnu.org; Tue, 10 Mar 2009 14:38:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lh6qF-0000xB-Rz for Help-gnu-emacs@gnu.org; Tue, 10 Mar 2009 14:38:16 -0400 Original-Received: from [199.232.76.173] (port=35659 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lh6qF-0000wv-Lj for Help-gnu-emacs@gnu.org; Tue, 10 Mar 2009 14:38:15 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:49010) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lh6qF-00055k-47 for Help-gnu-emacs@gnu.org; Tue, 10 Mar 2009 14:38:15 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Lh6qD-0007Fz-CK for Help-gnu-emacs@gnu.org; Tue, 10 Mar 2009 11:38:13 -0700 X-Nabble-From: jfiala@nebrwesleyan.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 11 Mar 2009 02:32:31 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62825 Archived-At: In Emacs 22 I cannot compile my java files. When I compile the minibuffer reads: Compile command: make -k I hit enter and the compilation buffer reads: -*- mode: compilation; default-directory: "~/" -*- Compilation started at Tue Mar 10 13:31:16 make -k make: *** No targets specified and no makefile found. Stop. Compilation exited abnormally with code 2 at Tue Mar 10 13:3 If I erase the "make -k" out of the minibuffer and hit enter the compilation buffer reads: -*- mode: compilation; default-directory: "~/" -*- Compilation started at Tue Mar 10 13:32:52 Compilation finished at Tue Mar 10 13:32:52 It seems that the program code has been compiled but no file with .class following is created. I cannot run my program either after creating an html file and use "appletviewer foo.html &" in the terminal window after I try to run this using the terminal window the terminal window writes: jfiala@Justin-PC:~$ load: class homework.class not found. java.lang.ClassNotFoundException: homework.class at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:201) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:145) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:644) at sun.applet.AppletPanel.createApplet(AppletPanel.java:798) at sun.applet.AppletPanel.runLoader(AppletPanel.java:727) at sun.applet.AppletPanel.run(AppletPanel.java:380) at java.lang.Thread.run(Thread.java:636) Caused by: java.io.FileNotFoundException: /home/jfiala/homework/class.class (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:137) at java.io.FileInputStream.(FileInputStream.java:96) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:87) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:178) at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:313) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:62) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:191) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:188) ... 8 more and the applet doesn't run. I know that this is pry a simple problem but how can I fix it so that when I use the compile command the java file is automatically compiled and it creates a .class file? Any help would be greatly appreciated as I need this for a course that I am currently taking. -- View this message in context: http://www.nabble.com/Emacs-help-tp22440827p22440827.html Sent from the Emacs - Help mailing list archive at Nabble.com.