Skip to main content

JDICplus on x64 / build error

4 replies [Last post]
kpauls
Offline
Joined: 2005-07-01

I get the following error building JDICplus jdicWeb project:

1>...jdic\src\incubator\jdicplus\src\windows\native\org\jdic\web\BrIELWControl.h(34) : fatal error C1083: Cannot open include file: 'awt_DCHolder.h': No such file or directory

I am building against the latest openJDK 7.0 source that I could download and the libs from the latest posted build.

my setenv.bat executes and looks like this:

set ALT_J2SE_SRC=C:\Users\...\jdk\src
set ALT_OUTPUTDIR=C:\Program Files\Java\jdk1.7.0

also you need to include "$(ALT_J2SE_SRC)\windows\native\common" in the project's additional include directories or the build fails to include jlong_md.h

Also the only jdicWeb.dll I could find uploaded to CVS was part of the webstart demo and did not function when run with the current java code.

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: postEvent
at org.jdic.web.peer.WBrComponentPeer.initIDs(Native Method)
at org.jdic.web.peer.WBrComponentPeer.(WBrComponentPeer.java:44)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
uta
Offline
Joined: 2007-01-10
kpauls
Offline
Joined: 2005-07-01

Thanks for the new build uta. I'm still not having much luck building the native libs against OpenJDK source.

Thanks a bunch for official binary libs.

Could you possibly include windows x64 binaries? I'm convinced the remainder of my problems are due to not having the correct JVM source to build against.

Message was edited by: kpauls

kpauls
Offline
Joined: 2005-07-01

I was able to get it running more-or-less.

Using JDICplus.jar and the BrowserFrame demo I just had to change the sync function to return String to match BrComponentListener.sync in the JDICplus.jar.

kpauls
Offline
Joined: 2005-07-01

The STABLE_TABS tag for JDICplus directory helps. I'll post an update if I have more luck with the native node there.

Perhaps this branch should be merged back into the head.