Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to use Java compiler with ConTEXT?

compiler context Java
0
Posted

How to use Java compiler with ConTEXT?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123