Welcome to the forum! Please read
this topic to learn how to post code correctly along with other useful info for new members.
I'm going to say some of what aprabhat said differently. As you know, a main() method is required in a Java class as the entry point for the program. The main() method must have the signature you've posted,
public static void main( String[] args )
Since it must have the return type void, it may not have a 'return' statement as your code does. Rather than returning a value from your main() method, use a print statement to show the result on the screen.
As for your algorithm to find the minimum value among a collection of numbers, here's another approach:
1. pick a number from the collection and assign it to a variable that is assumed to be the minimum number in the collection
2. compare each of the remaining values in the collection to the minimum number in the collection, and if a smaller number is found, that smaller number becomes the new minimum number in the collection
3. repeat step 2 until all values in the collection have been considered