Could not start java - I dont know what ishappening

I tried reading the early post regarding this problem and also tried some of the solutions provided but still does not start. I am using windows XP.
1. I tried going to the regedit and changed the version to 1.5 still it does not start.
2. Even my path is : C:\jdk1.5.0\bin;[WORKSHOP].
$ javac
Error opening registry key 'Software\JavaSoft\Java Runtime Environment\1.5'
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
The only change from the last time that I used java is I restarted the machine that is the only change that I did. So could somebody help me with this please.
I also updated my JRE from java update now still nothing is changing. I would definetly appreicate some hlep in this respect please.
PK

First, a question: You are showing a prompt of a dollar sign, which is not the default Windows prompt. Please explain - are you using a shell program of some sort, or ?
Try this:
Verify that your Test.java source file exists and is correctly named, with the extension of "java". Change the current directory to that directory. Compile using the full path to the javac.exe file - it appears that the command should be:
C:\Program Files\Java\jre1.5.0_01\bin\javac Test.javaIf that compiles, then run the program like this, from the same directory - include the period after classpath and the surrounding spaces:
C:\Program Files\Java\jre1.5.0_01\bin\java -classpath . TestIf these commands work, either the command shell or the Windows path environment variable have a problem.
The path variable in your original post and reply #2 are both wrong. The only Java entry that belongs in the path variable is the path to the javac.exe file, which appears to be the default:
C:\Program Files\Java\jdk1.5.0_01\bin
Also, clean up your classpath, none of the bold entries should be there:
.;C:\Program Files\Java\jdk1.5.0_01\bin;C:\javamyprograms\Privacy-PolicyStudy;C:\javamyprograms;C:\jdk1.5.0\bin;C:\jdk1.5.0\Myprograms;C:\aima;C:\Downloads\junit3.8.1\junit 3.8.1\junit.jar

Similar Messages

  • My Ipad 2 is not working. Is not tuening On. I dont' know what's happening. I'm trying to turn on and I have no ansewr. Screen is out, nothing come to the screen.

    My Ipad 2 is not working. Is not turning On. I dont' know what's happening. I'm trying to turn it on and I have no answer. Screen is out, nothing come to the screen. Battery is ok at 60% charged when I turned off last time, and after minutes when I turned on, it not worked anymore. If somebody have an idea what may happenning, please let me know.

    I don't know what yu mean by "screen is out" but try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • My iphone 4s just now shut off it wont turn back on its not that old i dont know whats going on please helpMy iphone 4s just now shut off it wont turn back on its not that old i dont know whats going on please help

    My iphone 4s just now shut off it wont turn back on its not that old i dont know whats going on please help

    Do a reset, hold down the home/sleep button together until you see the apple logo and then release, then wait for the phone to boot back up.

  • HT2693 Pls Pls Pls Help me my iphone is stucked on conect to itunes its not working , unresponsive,i dont know what happen with my iphone my friends telling me that may be your iphone no jailbreak , but i dont want to make this happen i dont need it.

    Pls Pls Help me >>> i bougt my iphone just 1 years ago,i dont know what happend with my iphone,its unresponsive,showing only connect to itunes ,and when i tried to restore after that messgae came on my laptop that Error 21, could not restore ,,, my friends telling me that may be somebody trying to jailbreak your mobil so this was the reason can happen but i dont want any kind of jailbreak i want my iphone back to my work plss help me i m very poor person i cant efford to buy again this phone

    Anyone have any suggestions? or is everyone else just as clueless as me !

  • My Ipod does not start but today it was working well? I bought It a week ago. Is not the battery because I tried charging it and it did not start also.Do you know What would have happened?

    I do not know why today my IPOD run out of battery and when I get home and place it to charge, It never came back to life, he is dead. I do not know how to start it.

    Try pressing the lock and home buttons at the same time and hold down until something appears on the screen.
    Tomm

  • Itunes really not working and i dont know what to do.. help

    ive searched all over and cant find solution to this... i installed itunes and clicked on ipod in itunes, clicked register later, then i scanned througgh the ipod agreement page and clicked agreement box and clicked save but the page remains the same even after saving and I think that's why I can't put music on my ipod. I went ni some options thing and it said i can't put my music to any ipod, because even if it recognizes the ipod it can't be used until the agreement page is accepted.. help please... someone

    You're probably not seeing the OK button on the Licence Agreement. TRy this;
    You're probably using XP so go to the control panel and open Displays.
    Then, click on the settings tab.
    Change the Screen resolution to 1024 by "whatever" and apply the changes
    Click yes to the message and then ok.
    Open itunes and let me know if you get by it.
    Frank

  • Am using an ipad mini took some pictures to upload to Facebook have done many times but this time an error came up on picture and message saying could not read files  don't know what that means am a fairly new user thank you

    Am using a ipad mini have taken many photos and have uploaded to Facebook tried to upload pictures today and an error message came on the picture it is uploading then a message box came up saying cant read files never had a problem

    Am using a ipad mini have taken many photos and have uploaded to Facebook tried to upload pictures today and an error message came on the picture it is uploading then a message box came up saying cant read files never had a problem

  • Hi all, i need urgently your help please. My touch screen on muy Iphone 5  is not working, i dont understand as it has not been damaged at all, i dont know what happened and need urgently somebody helps me please

    Please anyone there can help me what I can do??!! touch screen of my Iphone 5 is not working at all and dont understand as it has not been damage and it is only 2 months and half!! it is not an old iphone and it has not been damaged, has happened right now and cannot turn off the mobile at all. Tried to take out the nano sim as i though it will be turned off but it has not been! i dont know what i can do and i am desesperate!!! thanks All for your help!!

    Removing the SIM has no affect on the power of the phone. It is just the part that facilitates connecting to your carrier. Try holding the sleep/wake and home buttons together until you see the Apple logo on the screen and then release the buttons. The phone should reboot. You may need to hold the buttons together for 15-30 seconds.

  • Could not create Java Virtual Machine

    Till last evening everything was fine.
    Today morning when I want to open HANA Studio I get error message
    Java Virtual Machine Launcher
    Error: Could not create Java Virtual Machine.
    What is the solution? I checked my system Java version and it seems to be current.
    Regards
    Sathish

    Hello Sathish,
    May be, some files will be missing due to deletion of some files.
    So , Reinstall JDK and JRE..

  • HT4623 I tried to upgrade my iPhone 4 to new software 7, it could not start again and just showing no display......Dont know what to do

    Im using iPhone4 with old software 5... I tried to upgrade it to new software 7... It could not start again.. Please let me know, what to do..?

    Hi there muhammad36,
    You may find the troubleshooting steps in the article below helpful.
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    -Griff W. 

  • I'm trying to update to 4.3.4 but its giving me "iphone could not be updated this device isn't eligible for the requested build" . . . i dont know what going on . . anyone ?

    i'm trying to update to 4.3.4 but its giving me "iphone could not be updated this device isn't eligible for the requested build" . . . i dont know what going on . . anyone ?

    SOLUTION FOR ALL.
    This works. Thanks. The best way to do this is through the terminal. Just do the following commands in terminal:
    Type sudo su
    Press enter
    Then enter your password and hit enter
    Type vi /etc/hosts
    Move your cursor with the down arrow to the line that has gs.apple.com without a # at the beginning of the line.
    Move cursor to the beginning of that line.
    Type i# then press the esc key.
    Type :wq
    Press enter
    Type exit
    Press enter
    Now you can quit out of the terminal application. This likely is a problem caused by Tiny Umbrella denying itunes communicating with the apple servers.

  • Could not start Sun Java Application Server

    Hi ,
    I have been using JSC for a while, now and then it reports an error " could not start sun java application server...". Does any one know why it s not able to start java application server..
    Before you say anything, I have tried
    1. use netstat to find any port conflicts.
    2. Tried to start application server manually
    3. shut down and start studio creator and then try running the project
    4. shut down and start PC
    unfortunately none of them helped
    Only reinstalling resolved the problem. But I cant keep reinstalling very often.
    Does any one know the permanent solution for this problem.
    Cheers
    kush

    Sometimes it appears this is a timeout issue because it's taking too long to come up. As Jonathan says, undeploy can help with this (along with his other suggestions).
    How many deployed projects do you see (in the server navigator you can open up the deployed server and see what's out there)?
    I periodically undeploy "junk" projects that I'm not really using because they slow down the server startup (same thing happens I believe for tomcat... when the server starts it has to load them all and it takes awhile). You can undeploy from within the server navigator by drilling into the server nav and right clicking on the deployed app and choosing undeploy... or you can use the server admin tool.
    hth,
    v

  • HT201263 My ipod Touch does not want to turn on. I've tried all the different methods and I'm stuck and dont know what to do now. What else can I try?

    My ipod Touch does not want to turn on. I've tried all the different methods and I'm stuck and dont know what to do now. What else can I try?

    JesusDGZ wrote:
    My ipod Touch does not want to turn on. I've tried all the different methods and I'm stuck and dont know what to do now. What else can I try?
    I have no clue what you mean by "all the different methods."  Here are my suggestions.
    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • Could not create Java VM to start 8.1.7 install on RedHat Linux 9

    I am trying to install 8i 8.1.7 on redhat linux 9. when I start the installer I get this error and nothing happens after it. I do have java installed on the pc. Whats the cause. I did the preinstall steps and am using the oracle account to start the installation. I got the install file from the oracle downloads site.
    [oracle@localhost Disk1]$ ./runInstaller
    Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
    [oracle@localhost Disk1]$ /usr/local/downloads/Oracle8iLinux/Disk1/stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/lib/linux/native_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link
    time reference (libzip.so)
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM

    I found a thread that said I needed to do
    export LD_ASSUME_KERNEL=2.4.1 which I did. Now the installation starts and I get
    [oracle@localhost Disk1]$ ./runInstaller
    Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
    and then get back to the $prompt after some time and the welcome screen never comes up.
    Whats wrong?

  • The Sun Java System Application Server could not start

    Hello All,
    I downloaded the Java Pet Store example from sun's website and followed the instructions for installation. After successful installation, I tried to deploy the project and gave the following error
    C:\Documents and Settings\sina\My Documents\Projects\services\nbproject\build-impl.xml:194: Deployment error:
    The Sun Java System Application Server could not start.
    More information about the cause is in the Server log file.
    Possible reasons include:
    - IDE timeout: refresh the server node to see if it's running now.
    - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
    - Incorrect server configuration (domain.xml to be corrected manually)
    - Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
    - Invalid installation location.
    See the server log for details.
    BUILD FAILED (total time: 5 minutes 20 seconds)
    The link above points to the following line in the build-impl.xml file
    <nbdeploy debugmode="false" forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" clientModuleUri="${client.module.uri}"/>
    Can any one help whats wrong.An early response will be highly appreciated.
    Kind Regards.
    Hasnain Javed.

    Hi,
    Maybe you already got this fix but here is a suggestion, a snippet from the readme index,html of the petstore download
    # Start the Sun Java System Application Server and the JavaDB database. To do so, open a command prompt and change directory to <javaeesdk.home>/bin and issue the following commands:
    asadmin start-database
    asadmin start-domain
    # Change directory to <petstore.home> and enter the following commands
    ant setup
    ant run
    This will setup, build and deploy the petstore on the application server, and then launch the application homepage in your default browser.
    The "ant setup" that you run from <petstore.home> (petstore.home is the directory where petstore is installed or where you unzipped it) will populate the database wth data and setup the proper database tables etc that are used by the application.
    hth,
    Sean

Maybe you are looking for

  • How do I know if my MBP will benefit from heatsink paste reapplication?

    Dear Mac Users I know the theme of hot MacBook Pro's has been done to death, but I would like to add my two pennyworth with respect to the specific question: How do I know if my MBP will benefit from reapplication of the heatsink compound? I have tra

  • Product cost component

    Hello all, I am trying to create a report painter report which dsiplays all the cost components on the columns and materials along the rows. I have chosen structure KKBE library 7EE to accomplisg the task. However I cannot come up witht the report I

  • Screen periodically flashing black.

    every once in a while, three or four times a minute my screen goes black it comes back on (for lack of a better term) right away without waking it or anything, it just flashes black. earlier i was hearing a small clicking noise like that of when you

  • Automator Issue

    I'm currently encoding my CD collection and have directed the encodes into a particular folder called "Lossless Encodes". I've tried setting up a folder action using "Copy Finder Items" that sends files from the "Lossless Encodes" folder on my laptop

  • Mac Book Pro suddenly very slow

    MacBook Pro suddenly very slow despite good wifi connection. Should I be scanning for virus? and if so, which product?