I am confused by your post, longbeachkidd. You said you were trying to "bypass the email question" (not sure what that means) but that you had managed to set up your email and could get into it, but nothing else works. No idea how setting up your email could "break" your keyboard and no idea how it would have effected your access to the web. The Galaxy comes stock with a working Internet browser, obviously; did you delete it or something?
And what does any of this have to do with Java, which, according to the title of your post, is what this thread was supposed to be about? Please give us more details; I am sure one of the experts here (I am not one, lol) will be able to help you.
(You might consider doing a factory reset. It sounds to me as if some files have been corrupted, or...who knows, but the reset should get the phone back to stock and at least you will have a functioning phone again!)
Holly