Hi all,

The enable redirects might help, but I would be shocked if all of the
necessary syscalls have been implemented. I strongly suggest using FS
mode instead of SE mode.

Cheers,
Jason

On Mon, Dec 2, 2019 at 12:49 PM Ciro Santilli <[email protected]> wrote:
>
> Related question yet without satisfactory answer:
> https://stackoverflow.com/questions/58399259/running-java-programs-in-gem5or-any-language-which-is-not-c
>
> Maybe we can use the new --redirects option to get this working, not
> sure: 
> https://stackoverflow.com/questions/50542222/how-to-run-a-dynamically-linked-executable-syscall-emulation-mode-se-py-in-gem5/50696098#50696098
>
> On Mon, Dec 2, 2019 at 5:26 PM Leah Rumancik <[email protected]> wrote:
> >
> > Hello,
> >
> > What is the simplest way to run a java program through gem5? I have tried 
> > to run a HelloWorld program via
> >
> > > build/X86/gem5.opt configs/example/se.py --cmd /usr/bin/java --options 
> > > java/HelloWorld
> >
> > But I get the following error:
> >
> > /usr/bin/java: error while loading shared libraries: libjli.so: cannot open 
> > shared object file: No such file or directory
> >
> > There is no problem running the program outside of gem5.
> >
> > Thanks!
> > _______________________________________________
> > gem5-users mailing list
> > [email protected]
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to