Saturday, May 20, 2017

Be ready and prepare Raspberry Pi for Java 9

   Java 9 is coming soon with many new features. Aside of continued discussion about Project Jigsaw impact, it's time to get prepared.
This article helps you to prepare your RaspberryPi environment with multiple installed JDKs.
Whole process is quite straight forward: 

The first step is to download the last stable release of java jdk-9. 
In the article we use the most recent build: jdk-9+170


You can download JDK directly into your RapsberryPi or your local machine and then by using $scp command upload it to your RaspberryPi machine
$scp ./jdk-9-ea+170_linux-arm32-vfp-hflt_bin.tar.gz pi@<raspberrypi_ip>/home/pi

The next step is to login into your RaspberryPi machine  
$ssh pi@<raspberry_ip>

To unzip the downloaded JDK file execute following command:
$ sudo tar zxvf jdk-9-ea+170_linux-arm32-vfp-hflt_bin.tar.gz -C /opt

The command extracts the jdk-9 into the /opt folder

Now link java and javac with newly available JDK
$ sudo update-alternatives --install /usr/bin/javac javac /opt/jdk-9/bin/javac 1
$ sudo update-alternatives --install /usr/bin/java java /opt/jdk-9/bin/java 1

by using following command we select the jdk-9 available for us under the number 1
$ sudo update-alternatives --config javac
$ sudo update-alternatives --config java

at the end we verify our current java version by:
$ java -version
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+170)
Java HotSpot(TM) Client VM (build 9-ea+170, mixed mode)

$ javac -version
javac 9-ea


Congratulation your RaspberryPi is now running on Java 9 and you can switch between JDKs.

161 comments:

  1. I have to voice my passion for your kindness giving support to those people that should have guidance on this important matter.
    Java Training in Marathahalli

    ReplyDelete
  2. That was a very nice and interesting post.

    Please click on the link below.
    Advanced Excel Courses in Bangalore

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog...Java Training in Chennai
    Java Training Institute in Chennai

    ReplyDelete
  5. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
    AWS Training in Bangalore

    ReplyDelete
  6. Hi Thanks for the nice information its very useful to read your blog. We provide best Software Services

    ReplyDelete
  7. I have to voice my passion for your kindness giving support to those people that should have guidance on this important matter.

    white label website builder

    ReplyDelete
  8. wow...nice blog, very help full information. Thanks for sharing.
    Best Mobility Services | Austere Technologies

    ReplyDelete
  9. The administration robots are divided into expert and administration robots in view of their item writes. کوادکوپتر

    ReplyDelete
  10. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.nebosh fire certificate in chennai

    ReplyDelete
  11. Really great blog, it's very helpful and has great knowledgeable information. Thanks for sharing.

    Best Software Company | Austere Technologies

    ReplyDelete
  12. Nice blog with excellent information. Thank you, keep sharing.

    Quality Managment Services | Austere Technologies

    ReplyDelete
  13. I strongly believe that there will be great opportunities for those who looked into this area...
    Best Online Software Training Institute | Java Training

    ReplyDelete
  14. I ‘d mention that most of us visitors are endowed to exist in a fabulous place with very many wonderful individuals with very helpful things.
    safety course in chennai

    ReplyDelete
  15. Great blog created by you. I read your blog, its best and useful information. You have done a great work. Super blogging and keep it up
    Java training in chennai

    ReplyDelete
  16. I think this is the best article today. Thanks for taking your own time to discuss this topic, I feel happy about that curiosity has increased to learn more about this topic. Keep sharing your information regularly for my future reference.
    Java Courses in chennai

    ReplyDelete
  17. Very good informative article. Thanks for sharing such nice article, keep on up dating such good articles.

    Best chartered accountant course in Hyderabad | Avinash college of commerce

    ReplyDelete
  18. Its quite interesting! Informative and Impressive blog. Thanks for sharing such useful information.

    Java training in Chennai

    ReplyDelete
  19. Hi Thanks for the nice information its very useful to read your blog. We provide best System Integration Services

    ReplyDelete
  20. Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip. book best Andaman honeymoon packages

    ReplyDelete
  21. Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip. book ANDAMAN TRIP @ 7999

    ReplyDelete
  22. Hi Thanks for the nice information its very useful to read your blog. We provide best Association Of Chartered Certified Accountants

    ReplyDelete
  23. Hi Thanks for the nice information its very useful to read your blog. We provide Software Development Services

    ReplyDelete
  24. Thank you for sharing this valuable information. But get out this busy life and find some peace with a beautiful trip. book ANDAMAN TOUR PACKAGE@14599/

    ReplyDelete
  25. Hi Thanks for the nice information its very useful to read your blog. We provide best financial education

    ReplyDelete
  26. The young boys ended up stimulated to read through them and now have unquestionably been having fun with these things.
    fire and safety course in chennai

    ReplyDelete
  27. Hi Thanks for the nice information its very useful to read your blog. We provide best Certified Financial Analyst

    ReplyDelete
  28. This is an awesome post. Really very informative and creative contents. This concept is a good way to enhance the knowledge. Excellent post.

    aws training in bangalore

    java training in bangalore

    ReplyDelete
  29. Hi Thanks for the nice information its very useful to read your blog. We provide best Certified Public Accountant

    ReplyDelete
  30. Hi Thanks for the nice information its very useful to read your blog. We provide best company secretary course

    ReplyDelete
  31. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us

    java training in chennai

    ReplyDelete
  32. This is an awesome post. Really very informative and creative contents. This concept is a good way to enhance knowledge. I like it and help me to development very well. Thank you for this brief explanation and very nice information. Well, got good knowledge.
    WordPress website development Chennai

    ReplyDelete
  33. Thanks for sharing a valuable information to us. Thanks for your blog.
    CIMA training institute in Hyderabad | ISFS

    ReplyDelete
  34. You rock particularly for the high caliber and results-arranged offer assistance. I won't reconsider to embrace your blog entry to anyone who needs and needs bolster about this region.
    nebosh course in chennai
    offshore safety course in chennai

    ReplyDelete
  35. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us.
    Selenium online training
    Selenium certification training
    Selenium online course
    Selenium training course

    ReplyDelete
  36. Tech Gadgets reviews and latest Tech and Gadgets news updates, trends, explore the facts, research, and analysis covering the digital world.
    You will see Some Tech reviews below,

    lg bluetooth headset : You will also wish to keep design and assorted features in mind. The most essential part of the design here is the buttonsof lg bluetooth headset .

    Fastest Car in the World : is a lot more than the usual number. Nevertheless, non-enthusiasts and fans alike can’t resist the impulse to brag or estimate according to specifications. Fastest Car in the World click here to know more.

    samsung galaxy gear : Samsung will undoubtedly put a great deal of time and even more cash into courting developers It is looking for partners and will allow developers to try out
    different sensors and software. It is preparing two variants as they launched last year. samsung galaxy gear is very use full click to know more.

    samsung fridge : Samsung plans to supply family-oriented applications like health care programs and digital picture frames along with games It should stick with what they know and they
    do not know how to produce a quality refrigerator that is worth what we paid. samsung fridge is very usefull and nice product. clickcamera best for travel: Nikon D850: Camera It may be costly, but if you’re trying to find the very best camera you can purchase at this time, then Nikon’s gorgeous DX50 DSLR will
    probably mark each box. The packaging is in a vibrant 45.4-megapixel full-frame detector, the picture quality is simply wonderful. However, this is just half the story. Because of a complex 153-point AF system along with a brst rate of 9 frames per minute. camera best specification. click here to know more.

    visit https://techgadgets.expert/ this site to know more.

    ReplyDelete
  37. Attend The Analytics Course in Bangalore From ExcelR. Practical Analytics Course in Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Analytics Course in Bangalore.
    ExcelR Analytics Course in Bangalore

    ReplyDelete
  38. I just got to this amazing site not long ago. I was actually captured with the piece of resources you have got here. Big thumbs up for making such wonderful blog page!
    data analytics courses

    ReplyDelete
  39. Wow! Really a nice blog. Thank you so much for you effort.
    Best online training

    ReplyDelete
  40. Hello Admin!

    Thanks for the post. It was very interesting and meaningful. I really appreciate it! Keep updating stuffs like this. If you are looking for the Advertising Agency in Chennai | Printing in Chennai , Visit Inoventic Creative Agency Today..

    ReplyDelete
  41. Best Corporate Video Production Company in Bangalore and top Explainer Video Company in Bangalore , 3d, 2d Animation Video Makers in Chennai.
    Great article, Charles. Thanks for it.

    ReplyDelete
  42. Thank for this blog are more informative contents step by step. I here attached my site would you see this blog.

    7 tips to start a career in digital marketing

    “Digital marketing is the marketing of product or service using digital technologies, mainly on the Internet, but also including mobile phones, display advertising, and any other digital medium”. This is the definition that you would get when you search for the term “Digital marketing” in google. Let’s give out a simpler explanation by saying, “the form of marketing, using the internet and technologies like phones, computer etc”.

    we have offered to the advanced syllabus course digital marketing for available join now.

    more details click the link now.

    https://www.webdschool.com/digital-marketing-course-in-chennai.html

    ReplyDelete
  43. Amazing article useful information.

    Web designing trends in 2020

    When we look into the trends, everything which is ruling today’s world was once a start up and slowly begun getting into. But Now they have literally transformed our lives on a tremendous note. To name a few, Facebook, Whats App, Twitter can be a promising proof for such a transformation and have a true impact on the digital world.

    we have offered to the advanced syllabus course web design and development for available join now.

    more details click the link now.

    https://www.webdschool.com/web-development-course-in-chennai.html

    ReplyDelete

  44. The Asigo System Review- Read It Before You Buy - Kingss Lyn
    The Asigo system review explains how Chris munch asigo system review has jotted down a step by step
    training to help internet marketers get fast results His.Staregies Work!

    For More Information Visit https://kingsslyn.com/the-asigo-system-review/ Here .

    ReplyDelete
  45. Effective blog with a lot of information. I just Shared you the link below for Courses .They really provide good level of training and Placement,I just Had Data Science Classes in this institute,Just Check This Link You can get it more information about the Data Science course.

    Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

    ReplyDelete
  46. Hey guy's i have got something to share from my research work
    Sickrage
    Louiz
    Foundation

    ReplyDelete
  47. This comment has been removed by the author.

    ReplyDelete
  48. content is very informative keep sharing

    ReplyDelete
  49. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot.

    MongoDB Online Training

    MongoDB Classes Online

    MongoDB Training Online

    Online MongoDB Course

    MongoDB Course Online

    ReplyDelete

  50. ظهور نخستین سایت های شرط بندی
    اما نخستین سایت های شرط بندی چگونه شکل گرفتند؟ قبل از اینکه به مبحث اصلی مقاله یعنی معرفی سایت بازی انفجار نیترو بپردازیم، بد نیست کمی با ظهور نخستین سایت های شرط بندی آشنا شویم. اگر فراموش نکرده باشید اشاره کردیم بازی های شرط بندی در گذشته محدودیت های زیادی را داشتند.
    حضرات نیترو
    حضرات
    بازی رولت

    اما امروزه قدرت اینرنت باعث شده تا این بازی به سایت های شرط بندی کوچ کنند و از محدودیت مکانی خارج شوند. تاریخ دقیق ظهور سایت های شرط بندی در دسترس نمی باشد.
    بتخته نرد آنلاین نیترو
    تخته نرد آنلاین
    بلک جک نیترو

    اما با رجوع به تاریخچه بعضی از این سایت های از جمله سایت نیترو، خواهیم دریافت که پیشرفت تکنولوژی، بزرگترین ترغیب کننده برای ایجاد این سایت ها بوده است. البته مطالب گفته شده تمامی اطلاعات درباره این سایت های نمی باشد.
    پوکر آنلاین نیترو
    پوکر آنلاین
    بلک جک

    شمار سایت های شرط بندی امروزه رو به افزایش می باشد. برای مثال می توانیم به سایت نیترو اشاره کنیم. این سایت معتبر یکی از پیشگامان در این عرصه می باشد که قصد داریم در این مقاله شما را بیشتر با آن آشنا کنیم.
    پاسور آنلاین نیترو
    پاسور آنلاین

    ترفند برد و آموزش بازی انفجار آنلاین و شرطی، نیترو بهترین و پرمخاطب ‌ترین سایت انفجار ایرانی، نحوه برد و واقعیت ربات ها و ...
    Visit https://www.wmsociety.org/
    here for more information

    ReplyDelete
  51. Thanks for this informative blog please keep posting more often as it might help someone who is looking to gain more knowledge.
    This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.Java training in Chennai

    Java Online training in Chennai

    Java Course in Chennai

    Best JAVA Training Institutes in Chennai

    Java training in Bangalore

    Java training in Hyderabad

    Java Training in Coimbatore

    Java Training

    Java Online Training

    ReplyDelete

  52. I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end. I would like to read newer posts and to share my thoughts with you.Your post is just outstanding! thanks for such a post,its really going great and great work.You have provided great knowledge

    Azure Training in Chennai

    Azure Training in Bangalore

    Azure Training in Hyderabad

    Azure Training in Pune

    Azure Training | microsoft azure certification | Azure Online Training Course

    Azure Online Training

    ReplyDelete
  53. Thank you so much for these kinds of informative blogs.We are also a digital marketing company in gurgaon and we provide the website design services,

    AWS training in Chennai

    AWS Online Training in Chennai

    AWS training in Bangalore

    AWS training in Hyderabad

    AWS training in Coimbatore

    AWS training

    ReplyDelete
  54. Great Article with excellent information and fantastic writing found very useful thank you.
    typeerror nonetype object is not subscriptable

    ReplyDelete
  55. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
    splunk online training

    ReplyDelete
  56. Nice Information Your first-class knowledge of this great job can become a suitable foundation for these people. I did some research on the subject and found that almost everyone will agree with your blog.
    Cyber Security Course in Bangalore

    ReplyDelete
  57. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
    Data Science Course In Hyderabad

    ReplyDelete
  58. I will very much appreciate the writer's choice for choosing this excellent article suitable for my topic. Here is a detailed description of the topic of the article that helped me the most.
    unindent does not match any outer indentation level

    ReplyDelete
  59. I'm glad I found this blog! Occasionally, students want to know the keys to writing productive literary essays. Your first-class knowledge of this great job can become a suitable foundation for these people. Good
    unindent does not match any outer indentation level python

    ReplyDelete
  60. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
    splunk online training

    ReplyDelete
  61. The work of every single one of these individuals vary widely and are heavily interdependent on each other- you may call it a symbiotic relationship with multiple entities. Talking strictly about data scientists though, the major part of their workload can be broadly categorized into 3 subsections- data science course syllabus

    ReplyDelete
  62. your blog' s design is simple and clean and i like it. Your blog posts about Online writing Help are superb. Please keep them coming. Greets!

    data science training institute in bangalore
    Data Science certification course in Bangalore

    ReplyDelete
  63. This comment has been removed by the author.

    ReplyDelete
  64. https://www.digitalbrolly.com/google-adwords-certification-course/

    ReplyDelete
  65. Thanks for sharing this valauble informaion.

    Full stack classes in indore

    ReplyDelete
  66. Thank you so much for sharing all this wonderful information !!!! It is so appreciated!! You have good humor in your blogs. So much helpful and easy to read!
    Java Course in Indore

    ReplyDelete
  67. What a really awesome post this is. Truly, one of the best posts I've ever witnessed to see in my whole life. Wow, just keep it up.
    business analytics course

    ReplyDelete


  68. Great to become visiting your weblog once more, it has been a very long time for me. Pleasantly this article i've been sat tight for such a long time. I will require this post to add up to my task in the school, and it has identical subject along with your review. Much appreciated, great offer. data science course in nagpur

    ReplyDelete
  69. Fantastic article I ought to say and thanks to the info. Instruction is absolutely a sticky topic. But remains one of the top issues of the time. I love your article and look forward to more.
    Data Science Course in Bangalore

    ReplyDelete
  70. Nice to be seeing your site once again, it's been weeks for me. This article which ive been waited for so long. I need this guide to complete my mission inside the school, and it's same issue together along with your essay. Thanks, pleasant share.
    Data Science training in Bangalore

    ReplyDelete
  71. Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up.
    data science online training in hyderabad

    ReplyDelete
  72. Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!best data science course in bhubaneswar

    ReplyDelete
  73. Hey! Thanks for the info. This info helped me a lot. I will wait some more.

    ReplyDelete
  74. I am truly getting a charge out of perusing your elegantly composed articles. It would seem that you burn through a ton of energy and time on your blog. I have bookmarked it and I am anticipating perusing new articles. Keep doing awesome.data science course in ghaziabad

    ReplyDelete
  75. Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written. data analytics course in mysore

    ReplyDelete
  76. Your music is amazing. You have some very talented artists. I wish you the best of success. data science training in kanpur

    ReplyDelete
  77. Fantastic article I ought to say and thanks to the info. Instruction is absolutely a sticky topic. But remains one of the top issues of the time. I love your article and look forward to more.
    Data Science Course in Bangalore

    ReplyDelete
  78. I truly like you're composing style, incredible data, thankyou for posting. Business Analytics Course in Chennai

    ReplyDelete
  79. Impressive. Your story always bring hope and new energy. Keep up the good work. Data Scientist Course in Vadodara

    ReplyDelete
  80. Thank you quite much for discussing this type of helpful informative article. Will certainly stored and reevaluate your Website.
    Data Analytics Course in Bangalore

    ReplyDelete
  81. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job! Data Science Training in Dehradun

    ReplyDelete
  82. Python is an object-oriented, analytic programming language. Classes, dynamically typed, high-level volatile data types, exceptions, modules, and exception management are all included. It supports various programming paradigms, including primary and reactive programming and object-oriented programming. Python Training in Chennai

    ReplyDelete
  83. React Native was developed to make the development of mobile apps easier after ReactJS. The answer is straightforward: life is made much simpler if you can create an app once in JavaScript and release it to both Android and iOS. With React Native, you can create fully functional apps for both platforms in less time and with only one code language. To learn more about react native, join react native course in chennai at FITA Academy.react native course in chennai

    React native online course

    ReplyDelete
  84. Swift is an open-source programming language created specifically for App Store software. It has a large community of iOS developers who work hard to advance the language's native development. Swift is a potent scripting language designed specifically for iOS applications. Its extensive selection of development tools makes it perfect for creating mobile applications.
    To learn more about swift, join Swift Developer Course In Chennai at FITA Academy.

    Swift Developer Course In Chennai

    ReplyDelete