have 3 println statements and scan the inputs in using a Scanner.
then find which 2 side lengths are smaller, and see the if the sum is > the 3rd side
intantiates a Scanner instance
Scanner keyboard = new Scanner(System.in);
use keyboard.nextInt(); to input numbers
if (a>b&&b>c)
if(a<b&&b<c)
if (b>a&&a>c)
try those to find your bigger side
// assuming a was the bigger side
if ((b+c)>a)
System.out.println("you have a triangle.");
else
S.o.p("no triangle can exist");
hope i helped.
good luck