How to use Java compiler with ConTEXT?
1. After installing JDK and ConTEXT of course, open ConTEXT, go to Options/Environment Options…/Associations, click on Add button and write “java” (without quotes) and click the “Apply” button at dialog’s bottom. 2. Then hit “Execute keys” tab, hit Add again and add “java” again. Click on F9 (in the “User exec keys” tree) and use the “…” button to browse the hard disk until you find where you have installed the JDK. Go into “bin” subdirectory and select “javac.exe”, so this file with its full path now must be in the “Execute” field. Then write “%p” (without quotes) in the “Start in” field and “%f” in the “Parameters” field. Click on “Capture console output” checkbox and hit the “Apply” button at dialog’s bottom. 3. Click the “F10” key in the keys’ tree and repeat all the steps of paragraph 2., but this time select “java.exe” instead of “javac.exe” and write “%F” where you wrote “%f” in paragraph 2. Finally apply and click “Ok” to close dialog window. 4. Create a new and empty file
Related Questions
- I tried running a Java program (or another program that uses a just-in-time compiler) under Valgrind but something went wrong. Does Valgrind handle such programs?
- Does the MIB compiler/loader work with Cyberons for Java - SNMP Manager Toolkit v1.0?
- What is "starvation" when used in the context of the Java threading model?