Dear Sir, First: I use chroot /chroot directory to enter chroot environment, then I test java -version and javac -version => it's work. Outside chroot: I compile java with javac hello.java --> java hello => Output: Hello World. Inside chroot: I do as same as. Now I will try to compile java outside chroot, and run it inside chroot! I will reply you later! Thanks for your support Best regard, Linh On Sun, Dec 13, 2015 at 6:10 PM, Tobias Werth <Tobias.Werth@fau.de> wrote:
Hi,
*Vũ Linh Nguyễn <linhnv2110@gmail.com> [15/12/13]:
The output when I login with admin is:
exec: java: not found
The problem is: how can I make chroot work? I setup chroot, and edit CHROOTORIGINAL in chrootstartstop.sh and start it (when I started chrootstartstop.sh, my domjudge directory has etc lib lib64 usr folder like chroot folder), I think chroot must work, but I still can't submit java code.
To check your java installation in the chroot:
Did you try (without the use of DOMjudge) - to compile a simple java program outside of the chroot - and to execute the resulting class file in the chroot
Best, Tobi
-- *---------------------------------------------------------------------------------------------* *Nguyễn Vũ Linh - Sói Hoang* Software/Website/Game Developer - AI, PTS, Corel, AE Designer ...................... Phone: 0963.203.813 Website: http://ww-solution.me Email: linhnv2110@gmail.com | nguyen.vu.linh321@gmail.com ............................. Facebook: http://facebook.com/linhnv2110 Skype: linhnv2110@gmail.com