From: fi_fi08 <jfiala@nebrwesleyan.edu>
To: Help-gnu-emacs@gnu.org
Subject: Emacs help
Date: Tue, 10 Mar 2009 11:38:13 -0700 (PDT) [thread overview]
Message-ID: <22440827.post@talk.nabble.com> (raw)
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.<init>(FileInputStream.java:137)
at java.io.FileInputStream.<init>(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.
next reply other threads:[~2009-03-10 18:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 18:38 fi_fi08 [this message]
2009-03-11 9:30 ` Emacs help Peter Dyballa
[not found] <mailman.873.1137103907.26925.help-gnu-emacs@gnu.org>
2006-01-12 22:23 ` martin
2006-01-12 22:44 ` Giorgos Keramidas
-- strict thread matches above, loose matches on Subject: below --
2006-01-12 20:05 McDonald, Charles I
[not found] <mailman.1034029629.16859.help-gnu-emacs@gnu.org>
2002-10-08 9:31 ` emacs help John McCabe
2002-10-07 22:26 In Hur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=22440827.post@talk.nabble.com \
--to=jfiala@nebrwesleyan.edu \
--cc=Help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).