-
Notifications
You must be signed in to change notification settings - Fork 48
CallJ
Aaron Niyonzima edited this page Nov 20, 2020
·
1 revision
Use the code editor or IDE such as IntelliJ or Eclipse
- Navigate to your project folder
- Compile source code
$ javac *.java - Create a manifest file
$ echo Main-Class: Main > manifest.txt - Create Jar file:
$ jar cvfm [jarname].jar manifest.txt *.class - Test your jar:
$ java -jar [jarname]
CALLJ class_name, [$]method_name, param SETTING ret [ON ERROR] err_statement
0001 PROGRAM TestCallJ
0002
0003 class_name = "io.mathisi.test.Greeting"
0004 method_name = "hello"
0005 param = "Aaron"
0006
0007 CALLJ class_name, method_name, param SETTING ret ON ERROR
0008 err = SYSTEM(0)
0009 CRT "Error code ": err
0010 RETURN
0011 END
0012
0013 CRT "Received from Java": ret
0014
0015 END| Code | Description |
|---|---|
| 1 | Fatal error creating thread |
| 2 | Cannot create JVM |
| 3 | Cannot find class |
| 4 | Unicode conversion error |
| 5 | Cannot find method |
| 6 | Cannot find object constructor |
| 7 | Cannot instantiate object |
- Home
- Getting started with InfoBasic(jbc)
- Key Features of InfoBasic
- Control Flow
- Subroutines and Functions
- OFS
- Template Programming
- T24 Integration with other Systems
- T24 Business Training
- T24 Navigation Training
- T24 Administration Training