@luvsbulldogs, As @TheEastCoastGirl said it's highly likely you downloaded and installed malware.
Extremely important: Never use pop-ups of this nature to update software.
Unscrupulous people have designed pop-ups which look identical to the real thing and they can cause significant damage.
Please, always go to the official site if you think you need an update, and download from there.
Regarding Java in general: it has a record of serious security flaws and isn't widely used today as it was years ago. I disabled it long ago on my computers. Unless you use websites which specifically require Java, I'd suggest inactivating it.
Note: Java and JavaScript are 2 different things and are unrelated. You do need JavaScript enabled for most of your internet activity.
hth!
Few things reveal your intellect and your generosity of spirit—the parallel powers of your heart and mind—better than how you give feedback.~Maria Popova