Short answer: https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code
Longer answer: The jvpp java language bindings require JDK 1.8, so I strongly suspect that gcj won't cut it... OpenJDK works fine though (we build with that routinely for every verify/merge of a patch. Ed On Wed, Nov 9, 2016 at 9:33 AM, mohan NMH <[email protected]> wrote: > I am trying to compile VPP on Linux machine which has gcc and gcj > compilers. > > [user5@FOO-51 tmp]$ gcj -v > Using built-in specs. > Reading specs from > /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/../../../libgcj.spec > rename spec startfile to startfileorig > rename spec lib to liborig > COLLECT_GCC=gcj > COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64- > unknown-linux-gnu/4.9.0/lto-wrapper > Target: x86_64-unknown-linux-gnu > Configured with: ./configure --with-java-home=/usr/jdk1.8.0_111/jre/ > --with-ecj-jar=/usr/share/java/eclipse-ecj.jar > Thread model: posix > gcc version 4.9.0 (GCC) > [user5@FOO-51 tmp]$ > > The compilation goes on fine until gcj starts compiling some java > files, and throws errors. The error logs indicate that gcj can not > find some packages which are part of Java 1.7 and Java 1.8. > I discussed it on gcj mailing list and learned that gcj supports Java > 1.4-1.5. Also, gcj is deprecated and no one considering libgcj to > upgrade to Java 1.7 and 1.8. > > Please guide how to compile VPP? > _______________________________________________ > vpp-dev mailing list > [email protected] > https://lists.fd.io/mailman/listinfo/vpp-dev >
_______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev
