Wednesday 3 January 2018

Java 9 install in Ubuntu

Java 9 install in Ubuntu


1. Add the PPA.
sachin@sachin-E470:~$ sudo add-apt-repository ppa:webupd8team/java

2. Refresh system package cache and install the installer scripts via 2 commands one by one:
sachin@sachin-E470:~$ sudo apt-get update
sachin@sachin-E470:~$ sudo apt-get install oracle-java9-installer -Y
3. Once the script successfully installs Java 9 on your system, you may run command to set java 9 environment variables:
sachin@sachin-E470:~$ sudo apt-get install oracle-java9-set-default
4. Check Java Version
sachin@sachin-E470:~$ java --version
java 9.0.1
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

Its done.



No comments:

Post a Comment

Extract error records while inserting into db table using JDBCIO apache beam in java

 I was inserting data into postgres db using apache beam pipeline. it works perfectly with JdbcIO write of apache beam library. But, now, i ...