Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: SOL13473
Printer Friendly
Email Article Link
TTworkbench: How to configure the Java compiler in TTworkbench?
Environment/Versions
TTworkbench 32/64 Bit, Linux/Microsoft Windows
Procedure
The Java compiler "Javac" has to be enabled in TTworkbench Windows > Preferences > TTCN-3 > Compiler > Java compiler, Enable project settings > select Interanl ... Javac (Java SDK).
Note: The same can be done for the used project via right click on the project > Properties > TTCN-3 > Compiler > Java compiler.
If the feature is gray, please close TTworkbench and modify the
ttworkbench.ini
file (located in the TTworkbench installation directory) with any text editor by inserting a "
-vm
" option
BEFORE
the "
-vmargs
" option.
The line with
-vm
option must point to
YOUR JDK bin
directory e.g.:
-vm
C:\Program Files\Java\jdk1.8.0_200\bin
-vmargs
-Xmx2048m
By changing the value of
-Xmx
, you can increase the memory assigned to TTworkbench in order to enhance the compiling performance.
Afterwards, save the
ttworkbench.ini
file and start TTworkbench.
Version
2.0
Publish Date
2019-05-27
Categories
Product : Installation,Misc
Related Articles
TTworkbench: How to enhance compiler memory?
TTworkbench: [Error] java compiler failed