top of page

Java

Public·4 members

[PDF ] Hibernate Tutorial - Codersarts

Here is Hibernate tutorial


download here


26 Views

How to compare dates in Java


Using Date.compareTo() function:

A classic method to compare two java.util.Date in Java.

  1. Return value is 0 if both dates are equal.

  2. Return value is greater than 0 , if Date is after the date argument.

  3. Return value is less than 0, if Date is before the date argument


92 Views

Java Program to Check if a String is Numeric



String regex = "^[0-9]+$";
String str = "12"
if(str.matches(regex))
    System.out.println("Number")

55 Views

Error: Registry key 'Software\JavaSoft\Java Runtime Environment'

This is error due to multiple java version installed at different location.

so in my case this is output .

so i removed the all files from 'C:\ProgramData\Oracle\Java\javapath

also deleted java folder from this location c:\java\jdk1.8.0_131\bin

and worked.

Error: Registry key 'Software\JavaSoft\Java Runtime Environment'
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'

10638 Views
ashakantasharma
Oct 30, 2021

This error also comes when the software you are using is of 32 bit and you have 64 bit of JAVA installed which is not compitible with the existing softwares where you want to work. You may also unintall 64 bit and install the 32 bit version which will resolve the issue.

bottom of page