Bug 192305 - java/jamvm: 1.5.4 -> 2.0.0
Summary: java/jamvm: 1.5.4 -> 2.0.0
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-java mailing list
Depends on:
Reported: 2014-08-01 11:33 UTC by Kurt Jaeger
Modified: 2018-12-03 13:31 UTC (History)
3 users (show)

See Also:

patch to update (3.62 KB, patch)
2014-08-01 11:33 UTC, Kurt Jaeger
no flags Details | Diff
jamvm 2.0.0 patch with openjdk support (15.48 KB, patch)
2017-02-02 19:45 UTC, Greg V
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer 2014-08-01 11:33:55 UTC
Created attachment 145209 [details]
patch to update

Patch to update it.
Comment 1 John Marino freebsd_committer 2014-08-17 19:25:57 UTC
maintainer timed out, moving to patch-ready
Comment 2 Jung-uk Kim freebsd_committer 2014-08-18 16:28:36 UTC
(In reply to John Marino from comment #1)
> maintainer timed out, moving to patch-ready

Last time I checked, it did not compile on i386.


I am sorry for the late response.
Comment 3 Kurt Jaeger freebsd_committer 2014-09-12 05:27:21 UTC
Building on i386 leads to:

libtool: link: cc -I/usr/local/lib/libffi-3.0.13/include -I/usr/local/lib/libffi-3.0.13/include -O2 -pipe -fno-strict-aliasing -o jamvm jam.o  -L/usr/local/lib ./.libs/libcore.a -lffi -lz -lm -lrt -lthr
./.libs/libcore.a(dll.o): In function `setJNIMethod':
dll.c:(.text+0xe73): undefined reference to `convertSig2Simple'
dll.c:(.text+0xe84): undefined reference to `jni_static_stubs'
dll.c:(.text+0xe8d): undefined reference to `jni_static_stubs'
dll.c:(.text+0xebd): undefined reference to `jni_stubs'
dll.c:(.text+0xec6): undefined reference to `jni_stubs'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

convertSig2Simple is found in src/stubs.c, but not used because
USE_MD_STUBS is defined.
Comment 4 Greg V 2017-02-02 19:45:22 UTC
Created attachment 179542 [details]
jamvm 2.0.0 patch with openjdk support

Here's my patch, with OpenJDK support. I've been able to run a Jetty server with /usr/local/openjdk7/jre/bin/java -XXaltjvm=jamvm -jar … !

Current updates of OpenJDK 8 don't work with JamVM 2.0.0, so it's commented out.
Comment 5 Kurt Jaeger freebsd_committer 2017-02-03 21:54:00 UTC
thanks for the patch, testbuilds on 12a, 11a are fine.

testbuild on 10i still fails, see


Do you have an idea on how to fix this ? I'm testbuilding 10.3a right now.
Comment 6 Kurt Jaeger freebsd_committer 2017-02-04 07:20:37 UTC
and testbuilding on 11i to see if it's a 10 or a i386 issue.

Result: It's an i386 issue. Any ideas ?
Comment 7 Tobias Kortkamp freebsd_committer 2018-11-16 10:14:05 UTC
FYI the port has been deprecated in ports r483960.
Comment 8 Rene Ladan freebsd_committer 2018-12-03 13:31:54 UTC
Expired port removed.