Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: openjdk-7-jdk web server not running or compiling?

openjdk-7-jdk web server not running or compiling? 5 years 5 months ago #9902

  • barnes
  • barnes's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 92
  • Karma: 0
I am trying to get the web server running.

I noticed that when I did my Debian 8 install, jdk 7 got installed by default.

When I compile I get,
Mandatory :
...Checking Yes gtk
...Checking Yes librpcsvc
...Checking Yes libasound
...Checking Yes libpthread
...Checking Yes libm
...Checking Yes libdb
...Checking Yes libdb_cxx
...Checking Yes libz
...Checking Yes libcrypt
...Checking Yes librt
...Checking Yes libfl
...Checking Yes libX11
...Checking Yes gtk
...Checking Yes alsa

Optional :
...Checking No jni
...Checking No jni
...Checking No motif
...Checking Yes mysql
...Checking Yes sqlite3
...Checking Yes libsqlite3
...Checking No hdf5
...Checking Yes libhdf5
...Checking No mq
...Checking No wmq
...Checking No libprofinet
...Checking Yes libusb
...Checking No powerlink
...Checking No powerlinkcn
...Checking No libpcap
...Checking Yes librsvg
...Checking Yes gst
...Checking Yes gst
...Checking No mq
...Checking No wmq
...Checking No cifx
...Checking No nodave
...Checking No powerlink
...Checking No powerlinkuser
...Checking Yes rsvg
...Checking No android


Im assuming the "jni no" is due to the jdk 6 not being installed?

No web server is running with WebHandler in the node.

Will jdk 7 work or do I need to remove 7 and get jdk 6?
The administrator has disabled public write access.

openjdk-7-jdk web server not running or compiling? 5 years 5 months ago #9905

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3177
  • Thank you received: 502
  • Karma: 133
$jdk should point to the installed jdk, eg

export jdk=/usr/lib/jvm/java-8-openjdk-i386

/Claes
The administrator has disabled public write access.

openjdk-7-jdk web server not running or compiling? 5 years 5 months ago #9906

  • barnes
  • barnes's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 92
  • Karma: 0
pwrp@deb01:~$ echo $jdk
/usr/lib/jvm/java-7-openjdk-amd64


This environment variable has not changed since the install.
The administrator has disabled public write access.

openjdk-7-jdk web server not running or compiling? 5 years 5 months ago #9917

  • barnes
  • barnes's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 92
  • Karma: 0
pwre_configure.sh is the script that looks for the installed libraries

pwre_config_check_include jni JNI 1 $jdk/include/jni.h
pwre_config_check_include jni JNI 0 $jdk/include/linux/jni_md.h

The script is looking for the header files.

Turns out I had an incomplete installation of the jdk, no header files were present.

apt-get install default-jdk solved this problem

I ran make again and watched the compile successfully finish. When I get more time I will try to get the web server running.
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 7.847 seconds