installing Java on Wine?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Denton
Level 1
Level 1
Posts: 6
Joined: Sun Apr 21, 2019 8:09 am

installing Java on Wine?

Post by Denton »

I am trying to run a program called OpCat, unfortunately its a windows program based on Java and it wont launch on wine saying I dont have Java installed and the Java installer seems to just get stuck. its been sitting at this stage for the past hour and a half

Code: Select all

wine jre-8u211-windows-x64.exe 
002c:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x23f778, (nil) 0x23f774
002c:fixme:nls:get_dummy_preferred_ui_language (0x34 0x23f778 (nil) 0x23f774) returning a dummy value (current locale)
002c:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x23f778, 0x261fb0 0x23f774
002c:fixme:nls:get_dummy_preferred_ui_language (0x34 0x23f778 0x261fb0 0x23f774) returning a dummy value (current locale)
002c:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x23d3c8, (nil) 0x23d3c4
002c:fixme:nls:get_dummy_preferred_ui_language (0x34 0x23d3c8 (nil) 0x23d3c4) returning a dummy value (current locale)
002c:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x23d3c8, 0x266a10 0x23d3c4
002c:fixme:nls:get_dummy_preferred_ui_language (0x34 0x23d3c8 0x266a10 0x23d3c4) returning a dummy value (current locale)
002c:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x23b728, (nil) 0x23b724
002c:fixme:nls:get_dummy_preferred_ui_language (0x34 0x23b728 (nil) 0x23b724) returning a dummy value (current locale)
002c:fixme:nls:GetThreadPreferredUILanguages 00000034, 0x23b728, 0x261990 0x23b724
002c:fixme:nls:get_dummy_preferred_ui_language (0x34 0x23b728 0x261990 0x23b724) returning a dummy value (current locale)
002c:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
002c:fixme:msxml:domdoc_get_parseError (0x94850)->(0x23b4a0): creating a dummy parseError
002e:fixme:ieframe:ViewObject_SetAdvise aspects and/or flags not supported yet
002e:fixme:ieframe:WebBrowser_put_RegisterAsBrowser (0x83440)->(0)
002e:fixme:ieframe:WebBrowser_put_RegisterAsDropTarget (0x83440)->(0)
002e:fixme:ieframe:navigate_url Unsupported args (Flags 0x57ef80 {VT_INT: 2}; TargetFrameName 0x57ef68 {VT_EMPTY})
002e:fixme:dwmapi:DwmIsCompositionEnabled 0x6dbd1518
003b:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x91962f0, init_notify 0, handle 0x9b9fa10): stub
002e:fixme:msctf:ThreadMgrSource_AdviseSink (0xad2c80) Unhandled Sink: {71c6e74e-0f28-11d8-a82a-00065b84435c}
46[910c750]: TSF: 0x99f1500 TSFStaticSink::Init() FAILED to install ITfInputProcessorProfileActivationSink (0x80004001)
46[910c750]: TSF:   TSFTextStore::Initialize() FAILED to initialize TSFStaticSink instance
002e:fixme:imm:ImmGetDescriptionW (0x4090409, (nil), 0): semi stub
002e:fixme:imm:ImmGetDescriptionW (0x4090409, 0x9ecfd58, 9): semi stub
002e:fixme:imm:ImmGetOpenStatus (0xad49f0): semi-stub
002e:fixme:imm:ImmReleaseContext (0x10066, 0xad49f0): stub
002e:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
002e:fixme:ieframe:BrowserService_GetTravelLog 0xad77b0 0x57c1d0
002e:fixme:ieframe:ClientSite_GetContainer (0x83588)->(0x57c240)
002e:fixme:ieframe:ClientSite_GetContainer (0x83588)->(0x57d5c0)
002e:fixme:win:EnumDisplayDevicesW ((null),0,0x57c6d0,0x00000000), stub!
002e:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
002e:fixme:ieframe:DocHostUIHandler_GetDropTarget (0x83588)
002e:fixme:ntdll:EtwRegisterTraceGuidsW (0x69cdb070, 0x99f0a90, {509962e0-406b-46f4-99ba-5a009f8d2225}, 3, 0x99f0c40, (null), (null), 0x99f0ad0): stub
002e:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {a3da04e0-57d7-482a-a1c1-61da5f95bacb}
002e:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {917b96b1-ecad-4dab-a760-8d49027748ae}
002e:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {26d1e091-0ae7-4f49-a554-4214445c505c}
0017:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0017:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0017:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0017:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0017:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0017:fixme:mountmgr:query_property Faking StorageDeviceProperty data
002e:fixme:mshtml:nsChannel_AsyncOpen2 (0xb0b3c0)->(0xce30cc0)
002e:fixme:jscript:JScriptProperty_SetProperty Unimplemented property 70000001
002e:fixme:jscript:JScriptProperty_SetProperty Unimplemented property 70000002
002e:fixme:msxml:ClassFactory_QueryInterface interface {342d1ea0-ae25-11d1-89c5-006008c3fbfc} not implemented
002e:fixme:msxml:DispatchEx_GetDispID Unsupported grfdex 10000003
002e:fixme:msxml:DispatchEx_GetDispID Unsupported grfdex 10000001
002e:fixme:msxml:DispatchEx_GetDispID Unsupported grfdex 10000001
002e:fixme:msxml:domdoc_get_readyState stub! (0xc15dd0)->(0x57dd80)
002e:fixme:msxml:DispatchEx_GetDispID Unsupported grfdex 10000001
002e:fixme:msxml:domdoc_get_parseError (0xc15e00)->(0x57dd80): creating a dummy parseError
002e:fixme:msxml:DispatchEx_GetDispID Unsupported grfdex 10000001
002e:fixme:msxml:DispatchEx_GetDispID Unsupported grfdex 10000001
002e:fixme:msxml:domdoc_get_parseError (0xc15e00)->(0x57dd80): creating a dummy parseError
002e:fixme:msxml:DispatchEx_GetDispID Unsupported grfdex 10000001
002e:fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
002e:fixme:mshtml:nsChannel_GetContentLength (0xb0b950)->(0x57cb28)
002e:fixme:mshtml:nsChannel_GetContentLength (0xb0bf70)->(0x57cb28)
002e:fixme:font:get_nearest_charset TCI failing on 20000000
002e:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 20000000 file = L"/usr/share/fonts/truetype/fonts-gujr-extra/aakar-medium.ttf"
002e:fixme:jscript:JSGlobal_eval No active exec_ctx
0057:fixme:font:get_nearest_charset TCI failing on 20000000
0057:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 20000000 file = L"/usr/share/fonts/truetype/fonts-gujr-extra/aakar-medium.ttf"
trying to run the jar files natively doesn't work well either as it throws out another error
OPCAT Home variable not defined
and since I dont have a clue in about Java programming I dont know how to define that home variable.

Would appreciate any help either fixing the jar, or installing Java on wine (or some alternatie to OpCat although I haven't found any)
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: installing Java on Wine?

Post by jkfloris »

From the "How to install Opcat on a Mac" manual:

Code: Select all

java -jar -Xmx1024m -Dopcat.home="." -jar Opcat2.jar
Tested with java-1.8.0-openjdk-amd64
Denton
Level 1
Level 1
Posts: 6
Joined: Sun Apr 21, 2019 8:09 am

Re: installing Java on Wine?

Post by Denton »

Didnt work either. Seems to simply crash

Code: Select all

paul@home:~/.wine/drive_c/Program Files (x86)/Opcat$ java --version
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)
paul@home:~/.wine/drive_c/Program Files (x86)/Opcat$ java -jar -Xmx1024m -Dopcat.home="." -jar Opcat2.jar
[2019-06-04 13:43:11,794]ERROR    22[main] - An error occured:

 com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
java.lang.ClassNotFoundException: com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:398)
	at java.desktop/javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:2036)
	at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:632)
	at gui.Opcat2.main(Unknown Source)
[2019-06-04 13:43:11,794]ERROR    22[main] - An error occured:

 com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
java.lang.ClassNotFoundException: com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:398)
	at java.desktop/javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:2036)
	at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:632)
	at gui.Opcat2.main(Unknown Source)
[2019-06-04 13:43:14,914] INFO  3142[main] - Starting Opcat Session
[2019-06-04 13:43:14,914] INFO  3142[main] - Starting Opcat Session
[2019-06-04 13:43:14,917] INFO  3145[main] - Show gui is true
[2019-06-04 13:43:14,917] INFO  3145[main] - Show gui is true
[2019-06-04 13:43:14,917] INFO  3145[main] - Java home = /usr/lib/jvm/java-11-openjdk-amd64
[2019-06-04 13:43:14,917] INFO  3145[main] - Java home = /usr/lib/jvm/java-11-openjdk-amd64
[2019-06-04 13:43:14,917] INFO  3145[main] - Java version = 11.0.3
[2019-06-04 13:43:14,917] INFO  3145[main] - Java version = 11.0.3
[2019-06-04 13:43:14,918] INFO  3146[main] - Free Java Memory = 178867/Kb
[2019-06-04 13:43:14,918] INFO  3146[main] - Free Java Memory = 178867/Kb
[2019-06-04 13:43:14,918] INFO  3146[main] - Total Java Memory = 192512/Kb
[2019-06-04 13:43:14,918] INFO  3146[main] - Total Java Memory = 192512/Kb
[2019-06-04 13:43:14,918] INFO  3146[main] - Opcat Directory = .
[2019-06-04 13:43:14,918] INFO  3146[main] - Opcat Directory = .
[2019-06-04 13:43:14,919] INFO  3147[main] - Requirement feature file path = ./doreq
[2019-06-04 13:43:14,919] INFO  3147[main] - Requirement feature file path = ./doreq
[2019-06-04 13:43:14,919] INFO  3147[main] - Requirement feature exists = true
[2019-06-04 13:43:14,919] INFO  3147[main] - Requirement feature exists = true
[2019-06-04 13:43:14,919] INFO  3147[main] - CSV Export feature file path = ./docsv
[2019-06-04 13:43:14,919] INFO  3147[main] - CSV Export feature file path = ./docsv
[2019-06-04 13:43:14,920] INFO  3148[main] - CSV Export feature exists = false
[2019-06-04 13:43:14,920] INFO  3148[main] - CSV Export feature exists = false
[2019-06-04 13:43:14,920] INFO  3148[main] - CSV Loading feature file path = ./docsvloading
[2019-06-04 13:43:14,920] INFO  3148[main] - CSV Loading feature file path = ./docsvloading
[2019-06-04 13:43:14,920] INFO  3148[main] - CSV Loading feature exists = false
[2019-06-04 13:43:14,920] INFO  3148[main] - CSV Loading feature exists = false
[2019-06-04 13:43:14,921] INFO  3149[main] - Desecret feature file path = ./desecret.ops
[2019-06-04 13:43:14,921] INFO  3149[main] - Desecret feature file path = ./desecret.ops
[2019-06-04 13:43:14,921] INFO  3149[main] - Desecret feature exists = false
[2019-06-04 13:43:14,921] INFO  3149[main] - Desecret feature exists = false
[2019-06-04 13:43:14,921] INFO  3149[main] - Trying database connection 
[2019-06-04 13:43:14,921] INFO  3149[main] - Trying database connection 
[2019-06-04 13:43:15,236] INFO  3464[main] - jdbc:mysql://localhost:3306/opcat
[2019-06-04 13:43:15,236] INFO  3464[main] - jdbc:mysql://localhost:3306/opcat
[2019-06-04 13:43:15,529] WARN  3757[main] - Communications link failure

Last packet sent to the server was 0 ms ago.
[2019-06-04 13:43:15,529] WARN  3757[main] - Communications link failure

Last packet sent to the server was 0 ms ago.
[2019-06-04 13:43:15,529] WARN  3757[main] - Could not connect to database 
[2019-06-04 13:43:15,529] WARN  3757[main] - Could not connect to database 
[2019-06-04 13:43:15,529] INFO  3757[main] - Connection to database failed. is database up ?  
[2019-06-04 13:43:15,529] INFO  3757[main] - Connection to database failed. is database up ?  
[2019-06-04 13:43:15,529] INFO  3757[main] - 
Configuration Parameters :
[2019-06-04 13:43:15,529] INFO  3757[main] - 
Configuration Parameters :
[2019-06-04 13:43:15,542] INFO  3770[main] - DBPort	=	3306
[2019-06-04 13:43:15,542] INFO  3770[main] - DBPort	=	3306
[2019-06-04 13:43:15,543] INFO  3771[main] - DBURLSeperator	=	/
[2019-06-04 13:43:15,543] INFO  3771[main] - DBURLSeperator	=	/
[2019-06-04 13:43:15,543] INFO  3771[main] - DBdatabasename	=	opcat
[2019-06-04 13:43:15,543] INFO  3771[main] - DBdatabasename	=	opcat
[2019-06-04 13:43:15,543] INFO  3771[main] - DBserver	=	localhost
[2019-06-04 13:43:15,543] INFO  3771[main] - DBserver	=	localhost
[2019-06-04 13:43:15,543] INFO  3771[main] - DBtype	=	mysql
[2019-06-04 13:43:15,543] INFO  3771[main] - DBtype	=	mysql
[2019-06-04 13:43:15,544] INFO  3772[main] - MCCategories	=	Categories
[2019-06-04 13:43:15,544] INFO  3772[main] - MCCategories	=	Categories
[2019-06-04 13:43:15,544] INFO  3772[main] - MCTemplates	=	Templates
[2019-06-04 13:43:15,544] INFO  3772[main] - MCTemplates	=	Templates
[2019-06-04 13:43:15,544] INFO  3772[main] - MCaccesstype	=	svn
[2019-06-04 13:43:15,544] INFO  3772[main] - MCaccesstype	=	svn
[2019-06-04 13:43:15,544] INFO  3772[main] - MCrepository	=	Systems
[2019-06-04 13:43:15,544] INFO  3772[main] - MCrepository	=	Systems
[2019-06-04 13:43:15,545] INFO  3773[main] - MCserver	=	localhost
[2019-06-04 13:43:15,545] INFO  3773[main] - MCserver	=	localhost
[2019-06-04 13:43:15,545] INFO  3773[main] - admin.opcat.VisionContext	=	Vision
[2019-06-04 13:43:15,545] INFO  3773[main] - admin.opcat.VisionContext	=	Vision
[2019-06-04 13:43:15,545] INFO  3773[main] - admin.opcat.VisionName	=	localhost
[2019-06-04 13:43:15,545] INFO  3773[main] - admin.opcat.VisionName	=	localhost
[2019-06-04 13:43:15,545] INFO  3773[main] - admin.opcat.VisionPort	=	8080
[2019-06-04 13:43:15,545] INFO  3773[main] - admin.opcat.VisionPort	=	8080
[2019-06-04 13:43:15,546] INFO  3774[main] - admin.opcat.VisionUserID	=	545224014
[2019-06-04 13:43:15,546] INFO  3774[main] - admin.opcat.VisionUserID	=	545224014
[2019-06-04 13:43:15,546] INFO  3774[main] - admin.opcat.forcemcdelete	=	false
[2019-06-04 13:43:15,546] INFO  3774[main] - admin.opcat.forcemcdelete	=	false
[2019-06-04 13:43:15,546] INFO  3774[main] - admin.opcat.forcemcunlock	=	false
[2019-06-04 13:43:15,546] INFO  3774[main] - admin.opcat.forcemcunlock	=	false
[2019-06-04 13:43:15,546] INFO  3774[main] - directory.opcat.backup	=	./backup
[2019-06-04 13:43:15,546] INFO  3774[main] - directory.opcat.backup	=	./backup
[2019-06-04 13:43:15,546] INFO  3774[main] - directory.opcat.home	=	.
[2019-06-04 13:43:15,546] INFO  3774[main] - directory.opcat.home	=	.
[2019-06-04 13:43:15,546] INFO  3774[main] - directory.opcat.icons	=	./icons
[2019-06-04 13:43:15,546] INFO  3774[main] - directory.opcat.icons	=	./icons
[2019-06-04 13:43:15,546] INFO  3774[main] - entry.opd.inzoom.footer	=	 in-zoomed
[2019-06-04 13:43:15,546] INFO  3774[main] - entry.opd.inzoom.footer	=	 in-zoomed
[2019-06-04 13:43:15,547] INFO  3775[main] - entry.opd.root	=	SD
[2019-06-04 13:43:15,547] INFO  3775[main] - entry.opd.root	=	SD
[2019-06-04 13:43:15,547] INFO  3775[main] - entry.opd.sd.header	=	SD 
[2019-06-04 13:43:15,547] INFO  3775[main] - entry.opd.sd.header	=	SD 
[2019-06-04 13:43:15,547] INFO  3775[main] - entry.opd.unfold.footer	=	 unfolded
[2019-06-04 13:43:15,547] INFO  3775[main] - entry.opd.unfold.footer	=	 unfolded
[2019-06-04 13:43:15,547] INFO  3775[main] - entry.opd.view.footer	=	 view
[2019-06-04 13:43:15,547] INFO  3775[main] - entry.opd.view.footer	=	 view
[2019-06-04 13:43:15,547] INFO  3775[main] - entry.opd.view.header	=	View 
[2019-06-04 13:43:15,547] INFO  3775[main] - entry.opd.view.header	=	View 
[2019-06-04 13:43:15,548] INFO  3776[main] - entry.url.name	=	entry.rpg.parent.repositorypath
[2019-06-04 13:43:15,548] INFO  3776[main] - entry.url.name	=	entry.rpg.parent.repositorypath
[2019-06-04 13:43:15,548] INFO  3776[main] - expose.check.files.status	=	true
[2019-06-04 13:43:15,548] INFO  3776[main] - expose.check.files.status	=	true
[2019-06-04 13:43:15,548] INFO  3776[main] - expose.checks.interfacechange	=	true
[2019-06-04 13:43:15,548] INFO  3776[main] - expose.checks.interfacechange	=	true
[2019-06-04 13:43:15,548] INFO  3776[main] - expose.checks.oncommit	=	true
[2019-06-04 13:43:15,548] INFO  3776[main] - expose.checks.oncommit	=	true
[2019-06-04 13:43:15,548] INFO  3776[main] - expose.copy.properties	=	true
[2019-06-04 13:43:15,548] INFO  3776[main] - expose.copy.properties	=	true
[2019-06-04 13:43:15,548] INFO  3776[main] - expose.copy.properties.ignorelist	=	entry.rpg.code,object.rpg.Order,process.rpg.Order
[2019-06-04 13:43:15,548] INFO  3776[main] - expose.copy.properties.ignorelist	=	entry.rpg.code,object.rpg.Order,process.rpg.Order
[2019-06-04 13:43:15,548] INFO  3776[main] - expose_treat_links_delete_as_change	=	true
[2019-06-04 13:43:15,548] INFO  3776[main] - expose_treat_links_delete_as_change	=	true
[2019-06-04 13:43:15,549] INFO  3777[main] - expose_treat_object_type_change_as_change	=	true
[2019-06-04 13:43:15,549] INFO  3777[main] - expose_treat_object_type_change_as_change	=	true
[2019-06-04 13:43:15,549] INFO  3777[main] - expose_treat_relation_delete_as_change	=	true
[2019-06-04 13:43:15,549] INFO  3777[main] - expose_treat_relation_delete_as_change	=	true
[2019-06-04 13:43:15,549] INFO  3777[main] - file.system.colors	=	./colors.ops
[2019-06-04 13:43:15,549] INFO  3777[main] - file.system.colors	=	./colors.ops
[2019-06-04 13:43:15,549] INFO  3777[main] - file.system.types	=	./systems.ops
[2019-06-04 13:43:15,549] INFO  3777[main] - file.system.types	=	./systems.ops
[2019-06-04 13:43:15,549] INFO  3777[main] - graphics.default.BackgroundColor	=	230, 230, 230
[2019-06-04 13:43:15,549] INFO  3777[main] - graphics.default.BackgroundColor	=	230, 230, 230
[2019-06-04 13:43:15,549] INFO  3777[main] - graphics.default.BaseBorderColor	=	black
[2019-06-04 13:43:15,549] INFO  3777[main] - graphics.default.BaseBorderColor	=	black
[2019-06-04 13:43:15,549] INFO  3777[main] - graphics.default.CurrentSize	=	4
[2019-06-04 13:43:15,549] INFO  3777[main] - graphics.default.CurrentSize	=	4
[2019-06-04 13:43:15,550] INFO  3778[main] - graphics.default.DraggerSize	=	36
[2019-06-04 13:43:15,550] INFO  3778[main] - graphics.default.DraggerSize	=	36
[2019-06-04 13:43:15,550] INFO  3778[main] - graphics.default.FundamentalRelationHeight	=	31
[2019-06-04 13:43:15,550] INFO  3778[main] - graphics.default.FundamentalRelationHeight	=	31
[2019-06-04 13:43:15,550] INFO  3778[main] - graphics.default.FundamentalRelationWidth	=	36
[2019-06-04 13:43:15,550] INFO  3778[main] - graphics.default.FundamentalRelationWidth	=	36
[2019-06-04 13:43:15,550] INFO  3778[main] - graphics.default.LineColor	=	black
[2019-06-04 13:43:15,550] INFO  3778[main] - graphics.default.LineColor	=	black
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.LineTextColor	=	black
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.LineTextColor	=	black
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.MinimalThingHeight	=	35
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.MinimalThingHeight	=	35
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.MinimalThingWidth	=	60
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.MinimalThingWidth	=	60
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.NormalSize	=	5
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.NormalSize	=	5
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.OPDBackgroundColor	=	white
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.OPDBackgroundColor	=	white
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.OPDHeight	=	860
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.OPDHeight	=	860
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.OPDWidth	=	1300
[2019-06-04 13:43:15,551] INFO  3779[main] - graphics.default.OPDWidth	=	1300
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.ObjectColor	=	0, 110, 0
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.ObjectColor	=	0, 110, 0
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.ProcessColor	=	0, 0, 170
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.ProcessColor	=	0, 0, 170
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.StateColor	=	91, 91, 0
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.StateColor	=	91, 91, 0
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.StateHeight	=	35
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.StateHeight	=	35
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.StateWidth	=	60
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.StateWidth	=	60
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.TextColor	=	black
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.TextColor	=	black
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.ThingHeight	=	70
[2019-06-04 13:43:15,552] INFO  3780[main] - graphics.default.ThingHeight	=	70
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.ThingIconAlphaComposite	=	0.75
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.ThingIconAlphaComposite	=	0.75
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.ThingWidth	=	120
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.ThingWidth	=	120
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.UrlColor	=	red
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.UrlColor	=	red
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.lowerpanelminhighet	=	100
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.lowerpanelminhighet	=	100
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.metacolor	=	black
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.metacolor	=	black
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.object.tooltip.property	=	entry.general.notes
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.object.tooltip.property	=	entry.general.notes
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.process.tooltip.property	=	entry.general.notes
[2019-06-04 13:43:15,553] INFO  3781[main] - graphics.default.process.tooltip.property	=	entry.general.notes
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.default.tooltip.header	=	Text
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.default.tooltip.header	=	Text
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.effect.colorbyresource	=	no
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.effect.colorbyresource	=	no
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.effect.minus	=	red
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.effect.minus	=	red
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.effect.plus	=	green
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.effect.plus	=	green
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.fonts.LabelFont.size	=	11
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.fonts.LabelFont.size	=	11
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.fonts.LabelFont.style	=	0
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.fonts.LabelFont.style	=	0
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.fonts.LineFont.size	=	11
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.fonts.LineFont.size	=	11
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.fonts.LineFont.style	=	0
[2019-06-04 13:43:15,554] INFO  3782[main] - graphics.fonts.LineFont.style	=	0
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.LinkFont.size	=	12
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.LinkFont.size	=	12
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.LinkFont.style	=	0
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.LinkFont.style	=	0
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.MeasureFont.color	=	black
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.MeasureFont.color	=	black
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.MeasureFont.size	=	16
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.MeasureFont.size	=	16
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.MeasureFont.style	=	0
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.MeasureFont.style	=	0
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.SmallFont.size	=	11
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.SmallFont.size	=	11
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.SmallFont.style	=	0
[2019-06-04 13:43:15,555] INFO  3783[main] - graphics.fonts.SmallFont.style	=	0
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.StateFont.size	=	12
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.StateFont.size	=	12
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.StateFont.style	=	0
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.StateFont.style	=	0
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.ThingFont.size	=	16
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.ThingFont.size	=	16
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.ThingFont.style	=	0
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.ThingFont.style	=	0
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.TimesFont.color	=	black
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.TimesFont.color	=	black
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.TimesFont.size	=	16
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.TimesFont.size	=	16
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.TimesFont.style	=	0
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.TimesFont.style	=	0
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.URLFont.size	=	16
[2019-06-04 13:43:15,556] INFO  3784[main] - graphics.fonts.URLFont.size	=	16
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.fonts.URLFont.style	=	3
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.fonts.URLFont.style	=	3
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.cardinalitylabel	=	true
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.cardinalitylabel	=	true
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.metadata.colstoshow	=	1,3
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.metadata.colstoshow	=	1,3
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.metadata.headerofcolstoshow	=	0,2
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.metadata.headerofcolstoshow	=	0,2
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.metadata.headersep	=	:
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.metadata.headersep	=	:
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.metadata.headfromcolumnhead	=	true
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.metadata.headfromcolumnhead	=	true
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.metadata.showheader	=	true
[2019-06-04 13:43:15,557] INFO  3785[main] - graphics.show.metadata.showheader	=	true
[2019-06-04 13:43:15,558] INFO  3786[main] - graphics.show.metadata.showtimes	=	true
[2019-06-04 13:43:15,558] INFO  3786[main] - graphics.show.metadata.showtimes	=	true
[2019-06-04 13:43:15,558] INFO  3786[main] - graphics.show.metadata.timeslabel	=	Times
[2019-06-04 13:43:15,558] INFO  3786[main] - graphics.show.metadata.timeslabel	=	Times
[2019-06-04 13:43:15,558] INFO  3786[main] - gui.show	=	true
[2019-06-04 13:43:15,558] INFO  3786[main] - gui.show	=	true
[2019-06-04 13:43:15,558] INFO  3786[main] - jarname	=	Opcat2.jar
[2019-06-04 13:43:15,558] INFO  3786[main] - jarname	=	Opcat2.jar
[2019-06-04 13:43:15,558] INFO  3786[main] - logger	=	com.opcat.client
[2019-06-04 13:43:15,558] INFO  3786[main] - logger	=	com.opcat.client
[2019-06-04 13:43:15,558] INFO  3786[main] - mc.export.overwrite.tmp	=	true
[2019-06-04 13:43:15,558] INFO  3786[main] - mc.export.overwrite.tmp	=	true
[2019-06-04 13:43:15,558] INFO  3786[main] - messages.send	=	true
[2019-06-04 13:43:15,558] INFO  3786[main] - messages.send	=	true
[2019-06-04 13:43:15,559] INFO  3787[main] - models_directory	=	./Working Copy
[2019-06-04 13:43:15,559] INFO  3787[main] - models_directory	=	./Working Copy
[2019-06-04 13:43:15,559] INFO  3787[main] - opcat.show.detailederrors	=	false
[2019-06-04 13:43:15,559] INFO  3787[main] - opcat.show.detailederrors	=	false
[2019-06-04 13:43:15,559] INFO  3787[main] - process.body.aggragate	=	true
[2019-06-04 13:43:15,559] INFO  3787[main] - process.body.aggragate	=	true
[2019-06-04 13:43:15,559] INFO  3787[main] - process.body.aggragate.key	=	entry.rpg.code
[2019-06-04 13:43:15,559] INFO  3787[main] - process.body.aggragate.key	=	entry.rpg.code
[2019-06-04 13:43:15,559] INFO  3787[main] - project.summary.extra.properties	=	entry.rpg.type
[2019-06-04 13:43:15,559] INFO  3787[main] - project.summary.extra.properties	=	entry.rpg.type
[2019-06-04 13:43:15,559] INFO  3787[main] - req_tool_tip	=	true
[2019-06-04 13:43:15,559] INFO  3787[main] - req_tool_tip	=	true
[2019-06-04 13:43:15,560] INFO  3788[main] - search.depth	=	1
[2019-06-04 13:43:15,560] INFO  3788[main] - search.depth	=	1
[2019-06-04 13:43:15,560] INFO  3788[main] - search.extra.parameters	=	entry.rpg.type;entry.rpg.code
[2019-06-04 13:43:15,560] INFO  3788[main] - search.extra.parameters	=	entry.rpg.type;entry.rpg.code
[2019-06-04 13:43:15,560] INFO  3788[main] - search.width	=	1
[2019-06-04 13:43:15,560] INFO  3788[main] - search.width	=	1
[2019-06-04 13:43:15,560] INFO  3788[main] - show_icons	=	true
[2019-06-04 13:43:15,560] INFO  3788[main] - show_icons	=	true
[2019-06-04 13:43:15,560] INFO  3788[main] - show_link_addition_rule	=	yes
[2019-06-04 13:43:15,560] INFO  3788[main] - show_link_addition_rule	=	yes
[2019-06-04 13:43:15,560] INFO  3788[main] - show_opl	=	true
[2019-06-04 13:43:15,560] INFO  3788[main] - show_opl	=	true
[2019-06-04 13:43:15,560] INFO  3788[main] - show_reguler_links_messages	=	false
[2019-06-04 13:43:15,560] INFO  3788[main] - show_reguler_links_messages	=	false
[2019-06-04 13:43:15,561] INFO  3789[main] - show_roles_on_objects	=	no
[2019-06-04 13:43:15,561] INFO  3789[main] - show_roles_on_objects	=	no
[2019-06-04 13:43:15,561] INFO  3789[main] - show_roles_on_process	=	no
[2019-06-04 13:43:15,561] INFO  3789[main] - show_roles_on_process	=	no
[2019-06-04 13:43:15,561] INFO  3789[main] - show_state_not_result_rule	=	no
[2019-06-04 13:43:15,561] INFO  3789[main] - show_state_not_result_rule	=	no
[2019-06-04 13:43:15,561] INFO  3789[main] - show_times_on_process	=	no
[2019-06-04 13:43:15,561] INFO  3789[main] - show_times_on_process	=	no
[2019-06-04 13:43:15,561] INFO  3789[main] - simulation.fixed.reaction.time	=	true
[2019-06-04 13:43:15,561] INFO  3789[main] - simulation.fixed.reaction.time	=	true
[2019-06-04 13:43:15,561] INFO  3789[main] - simulation.reaction.time	=	0
[2019-06-04 13:43:15,561] INFO  3789[main] - simulation.reaction.time	=	0
[2019-06-04 13:43:15,562] INFO  3790[main] - simulation.reaction.time.range.start	=	0
[2019-06-04 13:43:15,562] INFO  3790[main] - simulation.reaction.time.range.start	=	0
[2019-06-04 13:43:15,562] INFO  3790[main] - simulation_AUTOMATIC_INITIATION	=	true
[2019-06-04 13:43:15,562] INFO  3790[main] - simulation_AUTOMATIC_INITIATION	=	true
[2019-06-04 13:43:15,562] INFO  3790[main] - simulation_FIXED_PROCESS_DURATION	=	true
[2019-06-04 13:43:15,562] INFO  3790[main] - simulation_FIXED_PROCESS_DURATION	=	true
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_MIN_TIME__PROCESS_DURATION	=	false
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_MIN_TIME__PROCESS_DURATION	=	false
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_MOVE_BETWEEN_OPD	=	false
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_MOVE_BETWEEN_OPD	=	false
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_ONE_OBJECT_INSTANCE	=	true
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_ONE_OBJECT_INSTANCE	=	true
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_PROCESS_DURATION	=	1
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_PROCESS_DURATION	=	1
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_PROCESS_DURATION_RANGE_END	=	15
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_PROCESS_DURATION_RANGE_END	=	15
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_PROCESS_DURATION_RANGE_START	=	5
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_PROCESS_DURATION_RANGE_START	=	5
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_RANDOM_PROCESS_DURATION	=	false
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_RANDOM_PROCESS_DURATION	=	false
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_RANDOM_STATE_SELECTION	=	true
[2019-06-04 13:43:15,563] INFO  3791[main] - simulation_RANDOM_STATE_SELECTION	=	true
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_REACTION_TIME_RANGE_END	=	5
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_REACTION_TIME_RANGE_END	=	5
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_SHOW_GRAPHICS	=	true
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_SHOW_GRAPHICS	=	true
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_SHOW_LIFE_SPAN	=	false
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_SHOW_LIFE_SPAN	=	false
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_SHOW_RESOURCE	=	false
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_SHOW_RESOURCE	=	false
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_STEP_BY_STEP_MODE	=	true
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_STEP_BY_STEP_MODE	=	true
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_STEP_DURATION	=	1000
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_STEP_DURATION	=	1000
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_STOP_AT_AGENT	=	false
[2019-06-04 13:43:15,564] INFO  3792[main] - simulation_STOP_AT_AGENT	=	false
[2019-06-04 13:43:15,565] INFO  3793[main] - simulation_level_range	=	3
[2019-06-04 13:43:15,565] INFO  3793[main] - simulation_level_range	=	3
[2019-06-04 13:43:15,565] INFO  3793[main] - system.lookandfeel.class	=	com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
[2019-06-04 13:43:15,565] INFO  3793[main] - system.lookandfeel.class	=	com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
[2019-06-04 13:43:15,566] INFO  3794[main] - versions.diff.properties.ignorelist	=	logicalprocess.entityattr.id;dummy
[2019-06-04 13:43:15,566] INFO  3794[main] - versions.diff.properties.ignorelist	=	logicalprocess.entityattr.id;dummy
[2019-06-04 13:43:15,566] INFO  3794[main] - versions.grid.color.change	=	green
[2019-06-04 13:43:15,566] INFO  3794[main] - versions.grid.color.change	=	green
[2019-06-04 13:43:15,566] INFO  3794[main] - versions.grid.color.deleted	=	red
[2019-06-04 13:43:15,566] INFO  3794[main] - versions.grid.color.deleted	=	red
[2019-06-04 13:43:15,566] INFO  3794[main] - versions.grid.color.new	=	blue
[2019-06-04 13:43:15,566] INFO  3794[main] - versions.grid.color.new	=	blue
[2019-06-04 13:43:15,567] INFO  3795[main] - viewer.more.data	=	Utilization:entry.extdata.Utilization %;Completed Jobs:entry.extdata.Number Completed Jobs
[2019-06-04 13:43:15,567] INFO  3795[main] - viewer.more.data	=	Utilization:entry.extdata.Utilization %;Completed Jobs:entry.extdata.Number Completed Jobs
Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Decoder
	at gui.license.StringEncrypter.decrypt(Unknown Source)
	at gui.license.LicenseFactory.createLicense(Unknown Source)
	at gui.Opcat2.loadLicense(Unknown Source)
	at gui.Opcat2.<init>(Unknown Source)
	at gui.Opcat2.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Decoder
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 5 more
paul@home:~/.wine/drive_c/Program Files (x86)/Opcat$ 
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: installing Java on Wine?

Post by jkfloris »

java --version
openjdk 11.0.3 2019-04-16
You need java version 8

Install openjdk-8-jre and use update-java-alternatives to set the default version.

Code: Select all

sudo apt install openjdk-8-jre java-common
sudo update-java-alternatives --list #<- This will tell you the right openjdk package name
sudo update-java-alternatives --set <openjdk-package-name>
Denton
Level 1
Level 1
Posts: 6
Joined: Sun Apr 21, 2019 8:09 am

Re: installing Java on Wine?

Post by Denton »

Huh, I just assumed its backward compatible.

switching to 8 worked. thanks.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: installing Java on Wine?

Post by jkfloris »

(a little bit off-topic)
Huh, I just assumed its backward compatible.
sun.misc.BASE64Encoder is available for Java <= 8
java.util.Base64 -- a drop-in alternative -- is available in Java >= 8
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: installing Java on Wine?

Post by DarkShadow44 »

Small addition, the java installer doesn't work in wine because of https://bugs.winehq.org/show_bug.cgi?id=40821.
Locked