Showing posts with label alternatives. Show all posts
Showing posts with label alternatives. Show all posts

November 27, 2019

Virtual Reality (VR), Augmented Reality (AR), 3D Application Development Tools and Platforms

Hi folks,

Most of the developers think Unity is only the development platform to develop Virtual Reality (VR), Augmented Reality (AR), 3D Applications.

Here is the list which might be useful you to explore based on your skillset.


  1. Unity - C#
  2. Unreal - C++
  3. Apple SceneKit - Swift / Objective-C
  4. Google Sceneform - Android
  5. Amazon Sumerian - JavaScript
  6. Babylon - JavaScript - Try online Playground
  7. A-Frame - HTML JavaScript
  8. Three - JavaScript - Examples
Hope this information is useful for you to create your own applications based on your knowledge.

Make your dreams to real using the VR, AR, 3D technologies.

Please send your feedback and comments to psrdotcom@gmail.com

November 20, 2018

Completely uninstall openjdk in RedHat Enterprise Linux (RHEL)

Hi all,

Today, I'll explain how to uninstall completely the openjdk from the RedHat Enterprise Linux (RHEL) machine.

Some of the softwares requires only the Oracle Java and having the openjdk, sometimes causes an issue. So, some users wants to remove the openjdk from the linux machine.

Pre-requisites


  • openjdk installed on the machine
  • Check for java alternatives, when multiple java versions installed
  • #> /usr/sbin/alternatives --config java
  • Result with + is the currently selected java for the machine


Procedure


1. Find out the installed openjdk versions

#> rpm -qa | grep java
#> rpm -qa | grep jdk

Sample Output:

java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64
java-1.8.0-openjdk-headless-1.8.0.191.b12-1.el7_6.x86_64


2. Remove the all openjdk versions

#> yum remove <>

Example:
#> yum remove java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64
#> yum remove java-1.8.0-openjdk-headless-1.8.0.191.b12-1.el7_6.x86_64

Hope, it is useful for you to configure java on your linux machine.

Please send your feedback and comments to psrdotcom@gmail.com

December 14, 2014

Install and configure latest Oracle Java JDK 8 and 7 in Ubuntu

Hi friends,

Today, I'll try to explain the way how to install the latest Oracle Java JDK 8 and 7.

Pre-requisites

Ubuntu 12.02 or above

Procedure

We can install in two ways
  1. Using PPA
  2. Manual Installation

PPA installation

  • Open terminal from "Applications" or press key combination "Ctrl+Alt+T"
  • Type the following commands in sequence
    • $ sudo apt-add-repository ppa:webupd8team/java
    • $ sudo apt-get update
  • To install latest JDK 8, type the following command
    • $ sudo apt-get install oracle-java8-installer
  • To install latest JDK 7, type the following command
    • $ sudo apt-get install oracle-java7-installer
  • Once the download complete, it will ask for agree for terms and conditions
  • Click on "OK" to complete the installation

Manual Installation

  • Download the Oracle JDK from the following official link
  • Extract the downloaded zip (Example "jdk-1.8.0.25.tar.gz")
  • It will create a folder with name "jdk-1.8.0.25"
  • Create a folder "java-8-oracle" under "/usr/lib/jvm" folder
    • $ sudo mkdir -p /usr/lib/jvm/java-8-oracle
  • Move the folder contents to /usr/lib/jvm/java-8-oracle
    • $ mv jdk-1.8.0.25/* -rf /usr/lib/jvm/java-8-oracle/

Configure the java executables

Configuration can only be done if more than one JDK is installed.

To configure java execute the following command

$ sudo update-alternatives --config java

Example output if Java 7 and Java 8 installed
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                     Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-7-oracle/jre/bin/java   2         auto mode
  1            /usr/lib/jvm/java-7-oracle/jre/bin/java   2         manual mode
* 2            /usr/lib/jvm/java-8-oracle/jre/bin/java   1         manual mode

Similar way you can do for javac, javaws and other executables

Configure javac

$ sudo update-alternatives --config javac

Configure javaws

$ sudo update-alternatives --config javaws

Happy java coding guys :)

References

  1. http://askubuntu.com/questions/121654/how-to-set-default-java-version
  2. http://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04
  3. http://askubuntu.com/questions/56104/how-can-i-install-sun-oracles-proprietary-java-jdk-6-7-8-or-jre

Please send your feedback and comments to psrdotcom@gmail.com

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com