I am having problems with Java Runtime Environment under Wine on my Ubuntu 15.4 32-bit box
I need Java under Wine as the Java app I am going to run (ShapeChange - shapechange.net) needs access to a windows .dll in order to perform its task.
The JRE will installe - however with a few messages - but I cannot make use of it:
Code: Select all
$ wine --version -->wine-1.7.50
Code: Select all
$export WINEPREFIX=~/.wine-shape
Code: Select all
$ wine winecfg
Code: Select all
wine: created the configuration directory '/home/place/.wine-shape'
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80040155
err:ole:get_local_server_stream Failed: 80040155
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80040155
err:ole:get_local_server_stream Failed: 80040155
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:msi:cabinet_copy_file failed to create L"C:\\windows\\mono\\mono-2.0\\lib\\mono\\gac\\System.Data\\4.0.0.0__b77a5c561934e089\\System.Data.dll" (error 3)
err:msi:extract_cabinet_stream FDICopy failed
err:msi:ACTION_InstallFiles Failed to extract cabinet: L"#image.cab"
err:msi:ITERATE_Actions Execution halted, action L"InstallFiles" returned 1603
err:appwizcpl:install_file MsiInstallProduct failed: 1603
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a07afa1, context 0xa33b50, init_notify 0, handle 0x130e7a4): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
wine: configuration in '/home/place/.wine-shape' has been updated.
Then - as I know that JRE 8 is out of the question -
Code: Select all
$ wine ~/Downloads/jre-7u80-windows-i586.exe
The terminal says :
Code: Select all
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
wine: Unhandled exception 0xc0000417 in thread 3b at address 0x760073:0x100173c2 (thread 003b), starting debugger...
place@place-HP-EliteBook-2570p:~/shapechange$ wineserver: could not save registrplace@place-HP-EliteBook-2570p:~/shapechange$ wine winecfg
wine: created the configuration directory '/home/place/.wine-shape'
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80040155
err:ole:get_local_server_stream Failed: 80040155
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80040155
err:ole:get_local_server_stream Failed: 80040155
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a07afa1, context 0xa33b50, init_notify 0, handle 0x130e7a4): stub
fixme:iphlpapi:CancelMibChangeNotify2 (handle (nil)): stub
wine: configuration in '/home/place/.wine-shape' has been updated.
place@place-HP-EliteBook-2570p:~/shapechange$ wine ~/Downloads/jre-7u80-windows-i586.exe
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:msvcrt:MSVCRT__wsopen_s : pmode 0x0124 ignored
fixme:msvcrt:__clean_type_info_names_internal (0x6e7a03cc) stub
fixme:msvcrt:__clean_type_info_names_internal (0x6d49d02c) stub
fixme:msvcrt:__clean_type_info_names_internal (0x6e70940c) stub
fixme:msvcrt:__clean_type_info_names_internal (0x6eb009c4) stub
err:ole:CoFreeUnusedLibrariesEx apartment not initialised
fixme:advapi:CreateProcessAsUserW 0xfc L"C:\\Program Files\\Java\\jre7\\bin\\jqs.exe" L"\"C:\\Program Files\\Java\\jre7\\bin\\jqs.exe\" -register -config \"C:\\Program Files\\Java\\jre7\\lib\\deploy\\jqs\\jqs.conf\"" (nil) (nil) 0 0x08000008 (nil) (null) 0x640bc4 0x640bb4 - semi-stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x73e93c,0x73e940): stub
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e6a8,flags=0x00000001) returns a fake device notification handle!
fixme:msvcrt:__clean_type_info_names_internal (0x6d20fc24) stub
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:msvcrt:__clean_type_info_names_internal (0x6d20fc24) stub
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
Using PPAPI flash.
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
place@place-HP-EliteBook-2570p:~/shapechange$ Created new window in existing browser session.
Now, doing my own test:
Code: Select all
$ wine java -version
Code: Select all
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x73e93c,0x73e940): stub
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e6a8,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:win:RegisterDeviceNotificationA (hwnd=0x12f1d0, filter=0x93e5ec,flags=0x00000001) returns a fake device notification handle!
fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB!
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: /usr/lib/jayatana/libjayatanaag.so
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.jarego.jayatana.Agent.premain(Agent.java:85)
... 6 more
FATAL ERROR in native method: processing of -javaagent failed
fixme:msvcrt:__clean_type_info_names_internal (0x6e7a03cc) stub
fixme:msvcrt:__clean_type_info_names_internal (0x6d49d02c) stub
fixme:msvcrt:__clean_type_info_names_internal (0x6e70940c) stub
fixme:msvcrt:__clean_type_info_names_internal (0x6eb009c4) stub
Cheers
/per