File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Java download problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java download problems" Watch "Java download problems" New topic
Author

Java download problems

vickie wolff
Greenhorn

Joined: Mar 09, 2009
Posts: 3
I'm having a problem getting java to install.....was having problems with programs using java working.....couldn't even get the java window to run on my computer.......being pretty computer illiterate i thought let's uninstall and reinstall.....uninstall went great but when i tried to reinstall i kept getting an error saying java was already installed and asking me if i want to reinstall......when i clicked yes another error came up saying this was for programs already installed.....so i rebooted and check the add/remove......no java....went to windows explorer and found a few java/sun programs and deleted them.....rebooted......went back to the java website and tried to download and install again.....got the same problem......i'm out of ideas and hope someone can help me......i have windows xp pro.....IE 7. thanks vickie
Venkata Kumar
Ranch Hand

Joined: Apr 16, 2008
Posts: 110

search for the directory where you installed java and delete the directory contents. Reinstall java again.


SCJP 5.0, SCWCD 5, preparing for SCDJWS
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39784
    
  28
Welcome to JavaRanch

Don't go deleting directories. You never know what might be in them which can cause problems later on.
You don't say which operating system you are using. Installation varies on different operating systems. The important thing is to set your PATH environment variable (you don't usually need to create a CLASSPATH); otherwise you have a correct installation and it still won't work. There are details and links in the Java Tutorials.
vickie wolff
Greenhorn

Joined: Mar 09, 2009
Posts: 3
Ok I'm sorry but I don't understand what you're talking about when you say change the class path. When I go to the control panel I still have a Java icon but when I try to open it this is what it says.......could not find the main class:com.sun.deploy.panel.controlpanel. Program will exit. I'm using windows xp pro. thanks.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39784
    
  28
Why are you going to control panel? You are supposed to open the command line.

I didn't say to change the classpath, but the path. You don't usually have to change the classpath on a system-wide basis, but you do need a path. Find the link I gave earlier, then the "common problems" page, which has a link to setting the PATH.
vickie wolff
Greenhorn

Joined: Mar 09, 2009
Posts: 3
Thanks for your reply. I found the link and followed the instructions but I'm still unable to install the lastest java. I can install every update up to java 6 update 12.....still get the same error message that it's already installed on my system. I have a regcur program that i have run and java does not show up on there. I cannot open the java console panel from explorer and when i go to control panel i do NOT have a java folder in there.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39784
    
  28
I haven't got a "java" folder when I go to control panel (when I have the misfortune to have to use Windows ).
I have however got a Java installation; to find yours use explorer to open your C: drive.
Mine (on Windows) lives in C:->Program Files->Java->jdk1.6.0_12->bin. The "bin" folder should contain about 30 programs including java.exe, javac.exe, javaw.exe, javadoc.exe, and javaws.exe. Try these instructions on a command prompt:
C:\Program Files\Java\jdk1.6.0_12\bin\java -version
C:\Program Files\Java\jdk1.6.0_12\bin\javac -version
and see whether you get any sensible answers. Those PATHs depend on it having been installed in its "default" location; if you installed it elsewhere you will have to change it.
If it comes back with something with 1.6.0_12 in, you have got a correct installation.

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14338
    
  22

I get the impression that Vickie is not a programmer and that she does not want to know how to install the JDK (Java software development kit) or learn how to program in Java. She just wants to install the Java runtime environment so that she can run Java programs. Is that right, Vickie?

JavaRanch is a forum mainly aimed at programmers, people who want to learn how to write their own programs in Java.

I think it's best if you find someone in your neighbourhood who is more computer literate to help you with this. It's very difficult to solve this kind of problem remotely via a forum like JavaRanch.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java download problems