Well i'm somewhat confused... are you talking about javascript or java... because you mention both.
I'm going to assume you mean javascript on the client of the web browser (ie: in the script tags of an html document... if that's not the case then some of the arguments and methods will be superfluous although most of the information about the core language is universal)
I actually taught myself javascript several years ago, so I know a little bit about it although it's hard to know what you're having trouble with as there are so many possibilities. A few helpful hints however:
Variables are quite different from other languages in that all variables are all types of variables (kind of like Schrodinger's cat
) Never assume that any variable is a number or a string or an array. If in doubt, you can check the type... although it's probably more efficient just to convert it to the type you want (parseInt(YOURNUMBER,10) for numbers or .toString() for strings i believe)
Google is your friend.... Seriously. Almost everything I have learned has been from google searches... dudes who are pro at javascript run the internet... so that's the best place to look for the answers.
Alert() and or document.write() are REALLY good for debugging. Also if you aren't using firefox... yews FIREFOX (or another good browser ie: not ie... lol) [if you are using firefox and don't have firebug, get it. it can be really helpful if you are delving into more complicated applications such as monitoring the xhr of an ajax app] otherwise any sort of error console is a must in order to know what to put into the alert).
Some random info that might be important:
everything in javascript is a variable... even functions, which sounds weird, but kind of makes sense... it's just a different sort of class like strings, nums, and arrays.
there isn't any built in functions for event handling... unless you're using a library. google some good articles on handling for cross browser implementations.
That's about all the help I can do without any specifics... if it's not classified, and this wasn't any help, i'd be more than glad to look at what you're having trouble with and see if I can halp you out, otherwise I'm sorry that you hate the magnificent language