Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

aocl report: Java runtime

I'm trying to view the profiler results using `aocl report <kernel>.aocx profile.mon`

But I'm getting the following error message:

aocl report: Java runtime not installed with Quartus, please reinstall Quartus

and ensure the java runtime is included with your install.

Reinstalling Quartus didn't help. And there is java included with the install, specifically quartus/linux64/jre/bin and quartus/linux64/jre64/bin are both there.

So is some environment variable or path not set right? Where/how is it checking for java?

I've been able to do everything in the flow so far (compile and run kernels for both emulator and on the board, debug with gdb, get a profile.mon file generated, etc) so my installation shouldn't be too far off.

Any ideas?

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello, it looks for the java runtime in the following location: $QUARTUS_ROOTDIR/linux64/jre64/bin/java - so perhaps the QUARTUS_ROOTDIR is not set to where linux64 is?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can also try to following to make sure it works - and adjust the QUARTUS_ROOTDIR as appropriate.

    user$ echo $QUARTUS_ROOTDIR

    /tools/linux64/quartus

    user$ $QUARTUS_ROOTDIR/linux64/jre64/bin/java -version

    java version "1.8.0_05"

    Java(TM) SE Runtime Environment (build 1.8.0_05-b13)

    Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    That did it. $QUARTUS_ROOTDIR wasn't set.

    (Actually it wasn't successful at first; after setting QUARTUS_ROOTDIR I was still getting the same failure. But then I moved back to my original shell window and directory that hadn't been experimented in and tried it there. It's off and running now)

    Thanks!