Home » Support » Tutorials/Power Tips » UltraEdit » Java compiler
IDM Power Tips

Use UltraEdit to compile Java

Can you use UltraEdit to compile Java code?

The answer: YES!. UltraEdit does not have an embedded compiler, however, you can configure a tool which will pass your code to the Java Compiler.

To configure the Java Compiler you will need to use the following information:

Command Line: " E:\jdk1.3\bin\javac "%n%e" "
Working Directory: "%p"
Menu Item Name: "Run Java Compiler"
Command Output (DOS Commands): "Output to List Box and Capture Output"

Java Compiler Tool


Step 1: Command Line (File Name and Extension)

In the Command line field type: E:\jdk1.3\bin\javac "%n%e"

  • E:\jdk1.3\bin\javac - Path to Java Compiler
  • "%n" - fileName only ("test")
  • "%e" - Extension only (".c")


Step 2: Working Directory

In the Working Directory field type: %p

  • %P - Path of file ex. ("C:\project\test\")
  • Please note: the %p cannot be enclosed with quotes.


Step 3: Menu Item Name

In the Menu Item Name field type: "Run Java Compiler"

  • Please note: This may be whatever you would like to name your tool.


Step 4: Command Output (DOS Commands)

In the Command Output section select the following options: "Output to List Box" and "Capture Output".


Step 5: You're Done

After completing the above steps click on the"Insert" button and your custom tool will be added.

Now that you are done, click "OK".


Back to power tips index


Buy Now
Upgrade
Download

Get your solution today!

UE/UC

Add UltraCompare to your purchase/upgrade of UltraEdit and complete your file management solution.

Your bundle license runs on Windows, Mac, and Linux.

Working on a team?

UEStudio

Check out UEStudio - designed for those who collaborate!


"We won't mince words:
UltraEdit is outstanding..."

Application Screenshots

Feature maps

Road trip, anyone?

UE Mobile

Bundle UE Mobile with your UE upgrade and save 50%!


Take the UltraEdit tour