Quick start for JDE with JDEbug, or how to get a single file compiling and debugging in JDE. 1. Download JDE and install in your ~/emacs/site directory (or wherever you put your site-specific code). 2. Download and install a JDK and the JDPA stuff from Sun's site. 3. Now we'll set up the environment. Create your working directory (we'll call it /user/work) and open or create a .java source file in that directory. Set the following properties for this session only: Editing General settings (JDE -> Project -> Options -> General) (note that this is called General in some places and Project in others): 3.1. Turn on JDEbug. 3.2. Edit JDE_Run_Java_Vm_W to put in full path. If you are on win32, change javaw to java here. 3.3. Edit JDE_Run_Java_Vm to put in full path The last two are not strictly necessary but on my machine I have several jdks around and prefer to use fully qualified file names rather than rely on the path. 3.4. Edit JDE_Global_Classpath to add my working directory (/user/work) 3.5. Edit JDE_DB_Source_Directories to add working directory (/user/work) Save the settings file using JDE -> Project -> Project File -> Save and restart Emacs. Edit that same source file again; now the JDEbug menu item will appear. Configure JDEBug (JDEBug -> Preferences) 3.6. Set JDE_Bug_Jdpa_Directory 3.7. Set JDE_Bug_JDK_Directory 4. Save the properties file again using JDE -> Project -> Project File You should now be able to set a breakpoint in your source file and run the debugger. -- Steve Peterson +1 952 948 9729 Principal Consultant FAX +1 612 677 3050 Virtation Technologies, Inc. http://virtation.com
