Category: Java

0

[Resolved] Remove Java completely from Mac / Linux

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Java # Remove Java runtime from the root of your system cd /Library/ rm -rf Java/ Verify Java in uninstalled java...

0

[Resolved] unsupported major.minor version 52.0

This is a generic issue. I solved it using the following steps. Uninstall Java completely sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Java # Remove Java runtime from...

0

Connection refused! Is selenium server started?

When you update your Google Chrome version and suddenly when you start running automation you hit the above mentioned error. Solution Get the latest chromedriver (https://sites.google.com/a/chromium.org/chromedriver/) Make sure your automation framework uses the latest...

Java – How to Convert character array to a String 0

Java – How to Convert character array to a String

Many a times you need to convert the character array into a String, its quite simple to do. char[] x = {‘s’,’u’,’m’,’i’,’t’}; Method 1. String a = new String(x); Method 2. String b =...