Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17249 Discussions

aocl report: Java runtime

Altera_Forum
Honored Contributor II
2,611 Views

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?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,625 Views

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?

0 Kudos
Altera_Forum
Honored Contributor II
1,625 Views

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)
0 Kudos
Altera_Forum
Honored Contributor II
1,625 Views

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!
0 Kudos
Reply