Recent

Author Topic: Lazarus JVM installation - missing "ppcjvm"  (Read 1634 times)

tcab

  • Newbie
  • Posts: 2
Lazarus JVM installation - missing "ppcjvm"
« on: November 26, 2019, 02:37:32 am »
I'm trying to compile free pascal code into java classes as documented https://wiki.freepascal.org/FPC_JVM using the option -Pjvm but this results in ppcjvm not being found. All the downloads referred to actually point to the normal fpc installer. E.g. the linux download turns out to be https://sourceforge.net/projects/freepascal/files/Linux/3.0.4/ which looks like the regular installer. I assume ppcjvm is bundled inside that - but no? I cannot see it in the tars, either.

I have previously successfully installed lazarus under linux with sudo apt-get install lazarus and have OK access to the fpc command on both systems. Installing again on linux using the .install script in the tar does not help, I get a different fpc but still get the ppcjvm missing message? I've searched and "ppcjvm" is not on my linux file system.

Code: [Select]
$ sudo ./install.sh

This shell script will attempt to install the Free Pascal Compiler
version 3.0.4 with the items you select

Install prefix (/usr or /usr/local)  [/usr] :
Installing compiler and RTL for x86_64-linux...
Installing rtl packages...
Installing rtl-console
Installing rtl-extra
Installing rtl-objpas
Installing rtl-unicode
Installing fcl...
Installing fcl-async
Installing fcl-base
Installing fcl-db
Installing fcl-extra
Installing fcl-fpcunit
Installing fcl-image
Installing fcl-json
Installing fcl-js
Installing fcl-net
Installing fcl-passrc
Installing fcl-pdf
Installing fcl-process
Installing fcl-registry
Installing fcl-res
Installing fcl-sdo
Installing fcl-sound
Installing fcl-stl
Installing fcl-web
Installing fcl-xml
Installing packages...
Installing a52
Installing aspell
Installing bfd
Installing bzip2
Installing cairo
Installing cdrom
Installing chm
Installing dblib
Installing dbus
Installing dts
Installing fastcgi
Installing fftw
Installing fpgtk
Installing fpindexer
Installing fpmkunit
Installing fppkg
Installing fv
Installing gdbint
Installing gdbm
Installing ggi
Installing gmp
Installing gnome1
Installing googleapi
Installing graph
Installing gtk1
Installing gtk2
Installing hash
Installing hermes
Installing httpd22
Installing httpd24
Installing ibase
Installing iconvenc
Installing imagemagick
Installing imlib
Installing jni
Installing ldap
Installing libcurl
Installing libgd
Installing libmicrohttpd
Installing libpng
Installing libsee
Installing libtar
Installing libvlc
Installing libxml2
Installing lua
Installing mad
Installing modplug
Installing mysql
Installing ncurses
Installing newt
Installing numlib
Installing odbc
Installing oggvorbis
Installing openal
Installing opencl
Installing opengles
Installing opengl
Installing openssl
Installing oracle
Installing pasjpeg
Installing paszlib
Installing pcap
Installing postgres
Installing proj4
Installing ptc
Installing pthreads
Installing pxlib
Installing regexpr
Installing rsvg
Installing sdl
Installing sqlite
Installing svgalib
Installing symbolic
Installing syslog
Installing tcl
Installing unzip
Installing users
Installing utmp
Installing uuid
Installing x11
Installing xforms
Installing zlib
Installing zorba
Installing utilities...
Installing fpcmkcfg
Installing fpcm
Installing fpcres
Installing fpdoc
Installing fppkg
Installing fprcp
Installing h2pas
Installing instantfpc
Installing lexyacc
Installing pas2fpm
Installing pas2jni
Installing pas2ut
Installing unicode
Installing utils
Install Textmode IDE (Y/n) ?
Done.

Install documentation (Y/n) ?
Installing documentation in /usr/share/doc/fpc-3.0.4 ...
Done.

Install demos (Y/n) ?
Install demos in [/usr/share/doc/fpc-3.0.4/examples] : /home/andy/Devel/fpc-3.0.4/examples
Installing demos in /home/andy/Devel/fpc-3.0.4/examples ...
Done.

Running on linux
Write permission in /etc.
Writing sample configuration file to /etc/fpc.cfg
Saved old "fpc.cfg" to "fpc.bak"
Writing sample configuration file to /usr/lib/fpc/3.0.4/ide/text/fp.cfg
Writing sample configuration file to /usr/lib/fpc/3.0.4/ide/text/fp.ini
Writing sample configuration file to /etc/fppkg.cfg
Writing sample configuration file to /etc/fppkg/default

End of installation.


Thaddy

  • Hero Member
  • *****
  • Posts: 14367
  • Sensorship about opinions does not belong here.
Re: Lazarus JVM installation - missing "ppcjvm"
« Reply #1 on: November 26, 2019, 06:53:55 am »
You need to build the ppcjvm cross compiler yourself. See the wiki.
https://wiki.freepascal.org/FPC_JVM/Building
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

 

TinyPortal © 2005-2018