Tejas Installation on Ubuntu

106 views
Skip to first unread message

Zeinab Pakdaman

unread,
Jan 2, 2021, 2:32:54 AM1/2/21
to Tejas
Hello to everyone,

I've tried to install Tejas on Ubuntu 16.04, but I receive an error in Step4, let me share it with you,

[exec] cc1: warning: /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: not a directory
[exec] /home/zeinabpakdaman/Downloads/tejas_installation_kit/Tejas-Simulator/Tejas/src/emulator/pin/../../simulator/emulatorinterface/communication/shm/JNIShm.c:7:17: fatal error: jni.h: No such file or directory
[exec]  #include <jni.h>
[exec]                  ^
[exec] compilation terminated.  


I've already added jni.h to the  jniInclude variables, but again this error occurs.

I'm looking forward to your answers, 
Thanks a lot for helping me in advance.

shubhankar suman singh

unread,
Jan 2, 2021, 8:23:56 AM1/2/21
to teja...@googlegroups.com
Hi,

Please check the version of Java installed. Please install openjdk-8.

--
You received this message because you are subscribed to the Google Groups "Tejas" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tejas_sim+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tejas_sim/bc5a0604-21db-4b58-ba18-3e551e95cfe0n%40googlegroups.com.

Zeinab Pakdaman

unread,
Jan 2, 2021, 8:59:46 AM1/2/21
to Tejas
Thanks for your response,
I've already installed Openjdk-8, but now when I try to check the java version, I received this message:

  ~$ java -version
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~16.04-b01)
OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)  


you mean it uses the 1.8 version? also I have the folder of java-8-openjdk-amd64 in /usr/lib/jvm.

shubhankar suman singh

unread,
Jan 2, 2021, 12:29:56 PM1/2/21
to teja...@googlegroups.com
PFA an instruction video.

Tejas-1.3-setup.mp4

Zeinab Pakdaman

unread,
Jan 3, 2021, 12:15:02 AM1/3/21
to teja...@googlegroups.com
Thanks alot, I've solved the problem.

regards,

You received this message because you are subscribed to a topic in the Google Groups "Tejas" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tejas_sim/g4HL2t3SyrU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tejas_sim+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tejas_sim/CACOV3Y6OuVS4PD-zu2AXVknq8TPsYU7paG0xnMFQW9tt4apZ2g%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages