Skip to main content

Thread: working with multiple java files emacs/jde.


hello all.

converted emacs eclipse coding in java. have emacs installed jde working.
problem when want compile java file uses class in file, compiler cannot find class. 2 files are:

callflowsim.java
queue.java

, located in same directory. when compile within emacs compilation error.

/home/chris/documents/csc364/callflowsim.java
/home/chris/documents/csc364/callflowsim.java:10: cannot find symbol
symbol : class queue
location: class callflowsim
queue calls=new queue();

when compile callflowsim.java, not know queue class , compilation error occurs. ran javac callflowsim.java in terminal sure , compiled without error.
how work multiple java files in emacs?

ps
have tried find decent tutorial on project files , jde little no luck. appreciated.

i found guide shows how same java programming tasks in eclipse, command line, , emacs:

http://www.mit.edu/~6.170/tools/edit...ompiling-emacs

don't think answers question. you've discovered yourself, you're doing right things outside of emacs. doing right things in emacs shouldn't require additional effort successful.

using "packages?" don't know if matters in emacs, seems keeping related files in packages might emacs keep related source files straight.

when compile source files in emacs, of appropriate *.class files result in same folder? if necessary *.class files in same directory, invoking java command on *.class file containing main() routine should work.

don't think i've helped, i've given things think about.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk working with multiple java files emacs/jde.


Ubuntu

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい