epri-dev / OpenADR-Virtual-Top-Node

This application is an implementation of a virtual top node (VTN) as defined in the OpenADR Alliance’s OpenADR 2.0 Profile Specification B Profile, updated July 1, 2013. OpenADR defines a machine-to-machine interface and includes the information model, transport and security mechanisms, and the manner in which data is exchanged between two end points.
Other
49 stars 33 forks source link

Doesnt compile on newer Ubuntu & Java #12

Open hamlatzis opened 5 years ago

hamlatzis commented 5 years ago

My system is Ubuntu 18.04 and the installed Java is:

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)

The deps don't compile and if I go and "fix" the scripts to allow for newer version then the openfire server throw warnings and cannot login

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/home/hamlatzis/projects/OpenADR/epri-oadr-vtn-deps-1.0.0-NEW/xmpp/openfire_3_9_1/target/openfire/lib/openfire.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding() WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Openfire 3.9.1 [Jun 7, 2019, 11:35:38 AM] Admin console listening at http://127.0.0.1:9090

agtzdimi commented 5 years ago

Hello @hamlatzis,

Did you find any solution to this? Have you managed to run the application although it's outdated?

hamlatzis commented 5 years ago

No, my solution was to install older version of java & ant

And depending on what project I'm working I change the symbolic links

On Tue, 17 Sep 2019, 16:54 Dimitris Agtzidis, notifications@github.com wrote:

Hello @hamlatzis https://github.com/hamlatzis,

Did you find any solution to this? Have you managed to run the application although it's outdated?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/epri-dev/OpenADR-Virtual-Top-Node/issues/12?email_source=notifications&email_token=AAFZ6ZH67TUVWNNZJP24H23QKDOSJA5CNFSM4HVTWLX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD64TLKI#issuecomment-532231593, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFZ6ZHKXSBGI6ZRXTFD5OLQKDOSJANCNFSM4HVTWLXQ .

oowe commented 3 years ago

Hello @hamlatzis I suggest you can use this method from the link: Ubuntu 20.04 LTS install Java7