Thanks for the quick reply again, Sir.
I was supiscious about kotlin is not installed in chroot enviroment too but i have no idea how to install them at chroot enviroment.
Before you reply, I have managed to make kotlin work by compiling using kotlinc to make java executable (jar), and finally running the program using java and -jar parameter on addition other java parameter. But I worry that it will create future unknown problem.
Anyway , I need more guidance to install kotlin at chroot mode. Do installing from https://www.domjudge.org/icpc-kotlinc_1.1.4-3~icpc_all.deb, will install kotlin to the chroot environment? Do I need any more steps to make it available to chroot enviroment?
Thanks before for your guidance.
Regards Andrew Jauhari
Sent from my ASUS
-------- Original Message -------- From:Jaap Eldering jaap@jaapeldering.nl Sent:Sat, 13 Jan 2018 20:24:05 +0700 To:Andrew Jauhari andrew@mikroskil.ac.id Subject:Re: Kotlin Problem
Hi Andrew,
On 13/01/18 11:17, Andrew Jauhari wrote:
Dear Domjudge - Developers,
Hello again, I have problem to integrate Kotlin compiler in judgehost.
For information, I'm using ubuntu 16.04 and I was installing kotlin from sdkman. But when compiling, it seems that domjudge cannot find kotlinc and kotlin. I have try to move kotlinc and kotlin to /bin/ directory. It seems to solve kotlinc problem, but domjudge still cannot execute kotlin.
When I try to go to directory where /testcase001/execdir/program
resides, and then execute it myself. It seems work and no problem.
Trying to re-chroot seems doesn't fix this too.
Did you also install kotlin inside the chroot? Compilation is done outside the chroot, so you need kotlinc available there, but the program is executed inside, so you need kotlin and the Kotlin support libraries inside there.
If you want you can download https://www.domjudge.org/icpc-kotlinc_1.1.4-3~icpc_all.deb and install that. It's the Kotlin package used for the 2018 world finals environment, and we've also used it during NWERC 2017.
Best, Jaap
Looking forward for your replay. Thanks before
Regards, Andrew Jauhari
Avast logo https://www.avast.com/antivirus
This email has been checked for viruses by Avast antivirus software. www.avast.com https://www.avast.com/antivirus
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel