Welcome java-11 - release 6.2

465 views
Skip to first unread message

Carlos Antonio Ruiz Gómez

unread,
Jan 5, 2019, 9:37:37 PM1/5/19
to iDempiere
Hi community, as suggested by Ken Longnan recently we are releasing today the version 6.2 with full support for java 11.

Again we need to highlight the work from Hiep, big kudos for him!

Java 11 is not the only change, Hiep also upgraded zk to 8.6.0.1, jetty to 9.4.14 and lot of other stuff.

It's already published in sourceforge and installed in the test servers, so, enjoy it.

Regards,

Carlos Ruiz

Алексей Антонов

unread,
Jan 8, 2019, 11:10:00 AM1/8/19
to iDempiere
I try to setup for development idempiere 6.2. I am use your instruction http://wiki.idempiere.org/en/Installing_iDempiere. I am see error when i materialize and builn by maven:

1. repositry OpenNMS http://repo.opennms.org/maven2 not exist. 
2. in openjdk11 no Java Web Srart. 

i cant download jnlp-1.5.0.pom/jar and use jawaws.jar for compile ord.idempiere.base bundle. I comment jnlp use in this bundle for continue.
Some dependency cant resolved, becose very old. For emaple selenium-stanalone-2.3.9. I use newest.

3. Cant dowdloan by google maven download plugin all additional jars. I change it to wagon download plugin.

I think you need check tutorial on clear system.

Hiep Lq

unread,
Jan 8, 2019, 12:46:29 PM1/8/19
to Mohemmed Bilal Ilyas
rare offline now it's online

2. in openjdk11 no Java Web Srart. 
just don't use that function but better get rid of it

3. Cant dowdloan by google maven download plugin all additional jars
if you at revision 266e9af88d2d it's my fault
try to get latest.

if you on latest please give error message


--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/2fda3452-e587-4347-8203-0222636f1292%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam

Алексей Антонов

unread,
Jan 8, 2019, 1:05:44 PM1/8/19
to iDempiere
1. now if online, good.I try before and it was many days offline.

I have this errors: 

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.3.0:compile (default-compile) on project org.adempiere.base: Compilation failure: Compilation failure: 
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[38] 
[ERROR] import javax.jnlp.BasicService;
[ERROR]        ^^^^^^^^^^
[ERROR] The import javax.jnlp cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[39] 
[ERROR] import javax.jnlp.FileContents;
[ERROR]        ^^^^^^^^^^
[ERROR] The import javax.jnlp cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[40] 
[ERROR] import javax.jnlp.PersistenceService;
[ERROR]        ^^^^^^^^^^
[ERROR] The import javax.jnlp cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[41] 
[ERROR] import javax.jnlp.ServiceManager;
[ERROR]        ^^^^^^^^^^
[ERROR] The import javax.jnlp cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[42] 
[ERROR] import javax.jnlp.UnavailableServiceException;
[ERROR]        ^^^^^^^^^^
[ERROR] The import javax.jnlp cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[296] 
[ERROR] PersistenceService ps;
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] PersistenceService cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[299] 
[ERROR] ps = (PersistenceService)ServiceManager.lookup("javax.jnlp.PersistenceService");
[ERROR]       ^^^^^^^^^^^^^^^^^^
[ERROR] PersistenceService cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[299] 
[ERROR] ps = (PersistenceService)ServiceManager.lookup("javax.jnlp.PersistenceService");
[ERROR]                          ^^^^^^^^^^^^^^
[ERROR] ServiceManager cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[300] 
[ERROR] } catch (UnavailableServiceException e) {
[ERROR]          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] UnavailableServiceException cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[306] 
[ERROR] FileContents fc = null;
[ERROR] ^^^^^^^^^^^^
[ERROR] FileContents cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[315] 
[ERROR] ps.setTag(getCodeBase(), PersistenceService.DIRTY);
[ERROR]                          ^^^^^^^^^^^^^^^^^^
[ERROR] PersistenceService cannot be resolved to a variable
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[356] 
[ERROR] PersistenceService ps;
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] PersistenceService cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[359] 
[ERROR] ps = (PersistenceService)ServiceManager.lookup("javax.jnlp.PersistenceService");
[ERROR]       ^^^^^^^^^^^^^^^^^^
[ERROR] PersistenceService cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[359] 
[ERROR] ps = (PersistenceService)ServiceManager.lookup("javax.jnlp.PersistenceService");
[ERROR]                          ^^^^^^^^^^^^^^
[ERROR] ServiceManager cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[360] 
[ERROR] } catch (UnavailableServiceException e) {
[ERROR]          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] UnavailableServiceException cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[389] 
[ERROR] BasicService bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
[ERROR] ^^^^^^^^^^^^
[ERROR] BasicService cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[389] 
[ERROR] BasicService bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
[ERROR]                    ^^^^^^^^^^^^
[ERROR] BasicService cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[389] 
[ERROR] BasicService bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
[ERROR]                                 ^^^^^^^^^^^^^^
[ERROR] ServiceManager cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/util/Ini.java:[393] 
[ERROR] catch(UnavailableServiceException ue)
[ERROR]       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] UnavailableServiceException cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/Adempiere.java:[29] 
[ERROR] import javax.jnlp.BasicService;
[ERROR]        ^^^^^^^^^^
[ERROR] The import javax.jnlp cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/Adempiere.java:[30] 
[ERROR] import javax.jnlp.ServiceManager;
[ERROR]        ^^^^^^^^^^
[ERROR] The import javax.jnlp cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/Adempiere.java:[31] 
[ERROR] import javax.jnlp.UnavailableServiceException;
[ERROR]        ^^^^^^^^^^
[ERROR] The import javax.jnlp cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/Adempiere.java:[487] 
[ERROR] BasicService bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
[ERROR] ^^^^^^^^^^^^
[ERROR] BasicService cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/Adempiere.java:[487] 
[ERROR] BasicService bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
[ERROR]                    ^^^^^^^^^^^^
[ERROR] BasicService cannot be resolved to a type
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/Adempiere.java:[487] 
[ERROR] BasicService bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
[ERROR]                                 ^^^^^^^^^^^^^^
[ERROR] ServiceManager cannot be resolved
[ERROR] /home/antonov/idempiere/org.adempiere.base/src/org/compiere/Adempiere.java:[491] 
[ERROR] catch(UnavailableServiceException ue)
[ERROR]       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] UnavailableServiceException cannot be resolved to a type
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.4.1:wget (download-db-seed-oracle) on project org.adempiere.report.jasper.library: Execution download-db-seed-oracle of goal com.googlecode.maven-download-plugin:download-maven-plugin:1.4.1:wget failed: java.lang.ClassNotFoundException: com.googlecode.download.maven.plugin.internal.CachedFileEntry -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.adempiere.base

Pedro Pozzi Ferreira

unread,
Jan 8, 2019, 2:43:00 PM1/8/19
to iDempiere

Hey Guys!

I tried to materialize iDempiere using maven on Java 11, and here it works ok:



Using java-11-openjdk-11.0.1.13-10.fc29.x86_64, on fedora 29.

About selenium, I have updated to the latest version, and can send you  the patch with pom.xml file, if you want.


Best Regards,
Pedro

Carlos Antonio Ruiz Gomez

unread,
Jan 8, 2019, 4:41:45 PM1/8/19
to idem...@googlegroups.com
Thanks Pedro, of course your contribution is welcome.

Would be great if you can give us that pom.xml and describe how is your use with selenium for peer review and tests.

Regards,

Carlos Ruiz


El 8/01/19 a las 20:43, Pedro Pozzi Ferreira escribió:

Hiep Lq

unread,
Jan 8, 2019, 10:06:41 PM1/8/19
to Mohemmed Bilal Ilyas
you get error when compiler because library isn't yet complete download

[ERROR] Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.4.1:wget (download-db-seed-oracle) on project org.adempiere.report.jasper.library: Execution download-db-seed-oracle of goal com.googlecode.maven-download-plugin:download-maven-plugin:1.4.1:wget failed: java.lang.ClassNotFoundException: com.googlecode.download.maven.plugin.internal.CachedFileEntry -> [Help 2]

to know why it can't download do bellow suggestion

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Pedro Pozzi Ferreira

unread,
Jan 9, 2019, 5:52:00 AM1/9/19
to iDempiere
Hi Carlos!

Do you prefer that I send the pom.xml here or on Jira?

And about the usage of Selenium, here in devCoffee we are writting some documentation about our use of selenium and fitNesse on tests on iDempiere and we will create a page in the wiki soon.

Regards

Pedro Pozzi Ferreira

Carlos Antonio Ruiz Gomez

unread,
Jan 9, 2019, 6:00:06 AM1/9/19
to idem...@googlegroups.com
Thanks Pedro, JIRA is fine.


El 9/01/19 a las 11:52, Pedro Pozzi Ferreira escribió:

azzam othman

unread,
Jan 9, 2019, 11:39:52 AM1/9/19
to iDempiere
Hi Carlos,

This is great news. 

Appreciating your valued efforts .

Azzam

Ctrl C

unread,
Mar 7, 2019, 8:18:37 PM3/7/19
to iDempiere
Hello Goodnight

I have a similar problem

When executing the mvn verify -U command I run the following error:

Any ideas?

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.3.0:compile (default-compile) on project org.adempiere.ui.zk: Compilation failure: Compilation failure:
[ERROR] /home/WorkSpace/iDempiere/release-6.2.z/idempiere/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkJRViewer.java:[338]
[ERROR]     prefix += "_".repeat(3-prefix.length());
[ERROR]                   ^^^^^^
[ERROR] The method repeat(int) is undefined for the type String
[ERROR] /home/WorkSpace/iDempiere/release-6.2.z/idempiere/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkJRViewer.java:[363]
[ERROR]     prefix += "_".repeat(3-prefix.length());
[ERROR]                   ^^^^^^
[ERROR] The method repeat(int) is undefined for the type String
[ERROR] /home/WorkSpace/iDempiere/release-6.2.z/idempiere/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkJRViewer.java:[391]
[ERROR]     prefix += "_".repeat(3-prefix.length());
[ERROR]                   ^^^^^^
[ERROR] The method repeat(int) is undefined for the type String
[ERROR] /home/WorkSpace/iDempiere/release-6.2.z/idempiere/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkJRViewer.java:[414]
[ERROR]     prefix += "_".repeat(3-prefix.length());
[ERROR]                   ^^^^^^
[ERROR] The method repeat(int) is undefined for the type String
[ERROR] /home/WorkSpace/iDempiere/release-6.2.z/idempiere/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java:[1560]
[ERROR]     prefix += "_".repeat(3-prefix.length());
[ERROR]                   ^^^^^^
[ERROR] The method repeat(int) is undefined for the type String
[ERROR] /home/WorkSpace/iDempiere/release-6.2.z/idempiere/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java:[1606]
[ERROR]     prefix += "_".repeat(3-prefix.length());
[ERROR]                   ^^^^^^
[ERROR] The method repeat(int) is undefined for the type String
[ERROR] /home/WorkSpace/iDempiere/release-6.2.z/idempiere/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java:[1651]
[ERROR]     prefix += "_".repeat(3-prefix.length());
[ERROR]                   ^^^^^^
[ERROR] The method repeat(int) is undefined for the type String
[ERROR] 7 problems (7 errors)

[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.adempiere.ui.zk

Hiep Lq

unread,
Mar 8, 2019, 12:14:46 AM3/8/19
to Mohemmed Bilal Ilyas
which jdk do you run on?
it's native idempiere or with your customize?

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Heng Sin Low

unread,
Mar 8, 2019, 10:59:41 PM3/8/19
to idem...@googlegroups.com
if you have multiple jdk install on your machine, make sure the JAVA_HOME environment variable is pointing to JDK11 before you run mvn verify.

--

Alejandro Guerra

unread,
Mar 9, 2019, 10:43:13 AM3/9/19
to iDempiere
i have the same error 
Reply all
Reply to author
Forward
0 new messages