If you have not received the OTA for this update yet, then check it manually by heading to Settings > About Phone > Software Update. If the OTA update did not get on your device for some reason, or you cannot wait for the OTA, then you can download and install the update manually via Odin tool. Samsung has not yet announced any roadmap for the latest Android 9.0 Pie update for any of their device, while many other manufactures like HTC, Motorola, Sony, etc. have already announced it. However, it is expected that Galaxy S9 /S9+, Galaxy Note 8, Galaxy S8/S8+, Galaxy Note 9, Galaxy S8 Active, and Galaxy A8/A8+ (2018) will get the Pie update in early 2019. Check out our list. Here is how to install Android 8.1 Oreo update manually on Galaxy J5 2017. Before proceeding with the below steps, we recommended to perform necessary backups. Firmware details:
How to Install Oreo 8.1 Update Manually
First, download Galaxy J5 Oreo 8.1 update file from Sammobile or using Sarmfirm tool.
Download latest version of Odin (v3.13.) and unzip it.
Unzip the downloaded firmware file. [If it is a 4 file firmware, then see this guide]
Reboot your Phone in Download Mode (press and hold Home + Power + Volume Down buttons) and then connect it to your PC.
Run Odin.exe file, wait until you get a blue sign in Odin and then add the firmware file to AP / PDA 6. Make sure re-partition is NOT ticked.
If everything is OK, click the Start button and wait until you see Pass message in Odin. Note that you can always go back to (downgrade) to previous Nougat using the same procedure, but should download Nougat firmware for your model and region. [source]