divolte / divolte-collector

Divolte Collector
https://divolte.io/
Apache License 2.0
282 stars 77 forks source link

Is Divolte compatible with Java 11? #242

Closed shermank1 closed 5 years ago

shermank1 commented 5 years ago

Is Divolte compatible with Java 11? If so, I'm having issues with the JAVA_HOME setup. Please assist? The guide is great, but passes over what seem to be fundamental setup issues. Looking forward to a response, thanks in advance.

asnare commented 5 years ago

We've tested Divolte against Java 11 and didn't notice anything in particular. Could you be a bit more specific about the problems you're having with JAVA_HOME?

shermank1 commented 5 years ago

Good day Andrew,

I get an error message saying: 'JAVA_HOME not set, java not found' - yet I've installed Java and have checked the installation using 'java -version'.

I've tried a few solutions, using the JAVA_HOME = command, and editing the bash terminal - yet still get the same error.

I'm really amazed with what I understand Divolte can do, and seriously want to experience it myself.

Any assistance with getting Divolte running will help tremendously.

Kind regards/Sherman

On Wed, May 1, 2019 at 9:51 AM Andrew Snare notifications@github.com wrote:

We've tested Divolte against Java 11 and didn't notice anything in particular. Could you be a bit more specific about the problems you're having with JAVA_HOME?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/divolte/divolte-collector/issues/242#issuecomment-488229609, or mute the thread https://github.com/notifications/unsubscribe-auth/AL5BQETF5O6T4LJTQARJDHDPTFDXHANCNFSM4HIC3PNA .

asnare commented 5 years ago

Which platform are you using?
How are you trying to run Divolte?

If you're trying to do it by hand, JAVA_HOME needs to be set in the environment when you run the command that starts it. That normally means export JAVA_HOME='…' on Linux/macOS, for example.

shermank1 commented 5 years ago

I'm using Ubuntu 18. I've tried the export command too - no use.

If I'm not doing it by hand, whats the easiest, least complicated way to do it?

On Wed, May 1, 2019 at 11:57 AM Andrew Snare notifications@github.com wrote:

Which platform are you using? How are you trying to run Divolte?

If you're trying to do it by hand, JAVA_HOME needs to be set in the environment when you run the command that starts it. That normally means export JAVA_HOME='…' on Linux/macOS, for example.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/divolte/divolte-collector/issues/242#issuecomment-488247589, or mute the thread https://github.com/notifications/unsubscribe-auth/AL5BQEUVEMAQO5VG4TTCLVTPTFSRHANCNFSM4HIC3PNA .

shermank1 commented 5 years ago

Hi Andrew,

Trust you are well. I've managed to get divolte-collector working, after following your advice - I had the path set incorrectly.

I'm now receiving an error message :'WARNING: An illegal reflective access operation has occurred'.[Please see attached screenshot].

[image: Screenshot from 2019-05-04 11-47-51.png]

Is this a common issue or some error on my part?

Regards, Sherman.

On Wed, May 1, 2019 at 11:57 AM Andrew Snare notifications@github.com wrote:

Which platform are you using? How are you trying to run Divolte?

If you're trying to do it by hand, JAVA_HOME needs to be set in the environment when you run the command that starts it. That normally means export JAVA_HOME='…' on Linux/macOS, for example.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/divolte/divolte-collector/issues/242#issuecomment-488247589, or mute the thread https://github.com/notifications/unsubscribe-auth/AL5BQEUVEMAQO5VG4TTCLVTPTFSRHANCNFSM4HIC3PNA .

asnare commented 5 years ago

This is an unfortunate, but expected, warning triggered by some of the components that we use. Until these components are updated warnings like these are to be expected under Java 11 and Java 12.

shermank1 commented 5 years ago

Thanks Andrew - will update - I got the collector to work, in spite of the error messages - I'm setting up and configuring Hadoop - so far, so good. Much Appreciated.

On Sat, May 4, 2019 at 12:25 PM Andrew Snare notifications@github.com wrote:

This is an unfortunate, but expected, warning triggered by some of the components that we use. Until these components are updated warnings like these are to be expected under Java 11 and Java 12.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/divolte/divolte-collector/issues/242#issuecomment-489314739, or mute the thread https://github.com/notifications/unsubscribe-auth/AL5BQEXXFN3DM6MOTPHAVA3PTVQAFANCNFSM4HIC3PNA .