Author Topic: Need help in setting this up to Compile and Execute  (Read 2841 times)


  • Junior Community Member
  • Posts: 4
  • Hero Points: 0
Need help in setting this up to Compile and Execute
« on: August 28, 2017, 03:09:55 PM »
I'm experimenting with SlickEdit and I need help with setting this up to compile my Java source code and the then executing it.

I have the JDK installed into C:\Program Files\Java\jdk1.8.0_131\bin.
I have my Java Project and the source file stored in D:\Java Programming Projects.

This is the hard part knowing what to enter where in these boxes in SlickEdit so can you guide me through the steps?


  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3913
  • Hero Points: 513
Re: Need help in setting this up to Compile and Execute
« Reply #1 on: August 28, 2017, 09:21:33 PM »
There is a section in the help on getting started with Java Projects (SlickEdit Help > Language-Specific Editing > Java > Initial Setup).

Some extra details to get you off the ground:

1) Go to Project > New...

2) In the Project Tab, expand the choices under Java.  Several of these are wizards for creating various types of Java projects, you probably want "Java - Empty Project()" or "Java - Ant" (if you intend to build using ant).

3) Fill in the Project name: and point it to the D:\Java Programming Projects\ directory.  Be smart here, don't just create one big project with all your different assorted projects, narrow things down to the code you need for specific projects you need to work on.  Create multiple workspaces and projects as necessary, it is easy to switch between them within SlickEdit.  This is worth it in order to make building, running and debugging more straightforward.  Of course, you can just throw a miscellany of project directories at SlickEdit, it will handle it, and a lot of our users work this way, but I am sure you are familar with the saying about what results come out when garbage goes in.

3) After you create your project, the next step will be adding source files to the project.  From the Project Properties dialog (which should come up after you create your project), click on Add Tree.  Make sure your project directory is selected, and set the Include filespecs to "*.java" and check
  • Recursive.  If your projects are of a small size (like less than 5000 files each), you might want to check
  • Add as wildcard, this will allow SlickEdit to keep up with the files when you add new files to the project directory.

5) Now switch to the "Compile/Link" button of the Project Properties dialog, and make sure that it has "Latest Version (JDK 1.8.0_131)" selected as the compiler library to use.

6) Now click OK to leave the Project Properties dialog.

7) Go to the Build menu, and select "Java Options..."  You probably will not need to do anything special here, but I thought I would mention it so that you know where the detailed Java options can be set.  Here you can adjust compile and link commands, as well as point to a specific JDK installation directory (other than the one SlickEdit detected automatically).  Click OK to finish up there when you are done looking over the options.

8 ) Go to Build > Build and try to compile your project, then Build > Run to run it.  You may have to adjust your class paths (Java Options dialog) if your code depends on third party libraries to run or build.

9) You can do Debug > Start to start the Java debugger.

10) Final note, there is a very simple sample java project that we ship with SlickEdit.  It doesn't do much, but it is helpful to give you an idea of what are build system can do and what our Java context tagging can do also.


  • Junior Community Member
  • Posts: 4
  • Hero Points: 0
Re: Need help in setting this up to Compile and Execute
« Reply #2 on: August 30, 2017, 04:08:01 PM »
Okay Thanks for the starter tips. But the real problem with all editors is that a guy has to know EXACTLY what to enter in the text field boxes.

I know where these text field boxes are but unless I enter in exactly what needs to be there, this will never work.

I know what to enter when I use IntelliJ, but this program is not IntelliJ.