Unable to build flink from source

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to build flink from source

syed
Hi
I am trying to build flink 1.3.3 from source using IntelliJ IDEA Ultimate
2019.1 IDE. When I build the project, I am receiving the following error

*java package sun.misc does not exist*

I am using the instruction to Importing Flink into an IDE available at this
link

https://ci.apache.org/projects/flink/flink-docs-release-1.8/flinkDev/ide_setup.html
<https://ci.apache.org/projects/flink/flink-docs-release-1.8/flinkDev/ide_setup.html>  

Can some one guide me how can I fix this issue?
Thanks.



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
hai
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build flink from source

hai

I have met this error when I build with a wrong jdk version. May be you should change to a newly jdk version, maby jdk 1.8?


 Original Message 
Sender: syed<[hidden email]>
Recipient: user<[hidden email]>
Date: Monday, May 6, 2019 09:20
Subject: Unable to build flink from source

Hi 
I am trying to build flink 1.3.3 from source using IntelliJ IDEA Ultimate
2019.1 IDE. When I build the project, I am receiving the following error

*java package sun.misc does not exist*

I am using the instruction to Importing Flink into an IDE available at this
link

https://ci.apache.org/projects/flink/flink-docs-release-1.8/flinkDev/ide_setup.html
<">https://ci.apache.org/projects/flink/flink-docs-release-1.8/flinkDev/ide_setup.html>  

Can some one guide me how can I fix this issue?
Thanks.



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build flink from source

syed
I am already using jdk 1.8.
I have searched a lot over internet regarding how to fix this issue, but did
not get the solution.



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build flink from source

Chesnay Schepler
In reply to this post by syed
You're likely using Java9+, but 1.3.3 only supports Java 8 (and maybe
still 7).

On 06/05/2019 03:20, syed wrote:

> Hi
> I am trying to build flink 1.3.3 from source using IntelliJ IDEA Ultimate
> 2019.1 IDE. When I build the project, I am receiving the following error
>
> *java package sun.misc does not exist*
>
> I am using the instruction to Importing Flink into an IDE available at this
> link
>
> https://ci.apache.org/projects/flink/flink-docs-release-1.8/flinkDev/ide_setup.html
> <https://ci.apache.org/projects/flink/flink-docs-release-1.8/flinkDev/ide_setup.html>
>
> Can some one guide me how can I fix this issue?
> Thanks.
>
>
>
> --
> Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
>