Error: could not open...........

Particulars: New to Java, Windows 98, Java 1.4.0_01.
My first program has compiled no-problem. However, when i attempt to run the program i get the following messege in the command prompt.
Error: could not open 'C:\Program Files\Java\j2re1.4.0_01\lib\i386\jvm.cfg'
Upon examination, my (jvm.cfg) is in a completely different directory. I don't know if i installed the Java SDK improperly, or if setting the classpath will help. I even uninstalled, then re-installed program. Also, i attempted to create a directory that matched that which is described in the error messege, (only to create a new "could not open" error).
Could you please help? Thank you in advance, Dan......

When you install Java it creates 3 directory trees.
One, which starts at C:\j2sdk1.4.0_01, contains a copy of the JRE runtime (at C:\j2sdk1.4.0_01\jre\) and the additional program tools and librarys/jars that are needed to create and compile programs.
The second, which is at C:\Program Files\Java\j2re1.4.0_01\, is a copy of the JRE runtime that was installed above.
(The third, Webstart, is in C:\Program Files\)
Because there are 2 JRE's, identical except for where they are, if you have one jvm.cfg you can copy it to the other location. The files are identical when installed. The 2 locations are:
C:\j2sdk1.4.0_01\jre\lib\i386\jvm.cfg
C:\Program Files\Java\j2re1.4.0_01\lib\i386\jvm.cfg
Give that a try...
That said, I've never heard of this. If you tried to install into a directory other than the default, I suggest that you use the defaults. If you used the defaults and are still having trouble, do a full removal using the Control Panel 'Add/Delete Programs' feature. Make sure that Java 2 Runtime, Java 2 SDK, and Java Webstart are removed. Then delete the 3 directory structures that match these and start over.

Similar Messages

  • Is my HD Dead? Reformat Disk Utility Error: secure disk erase failed with the error could not open disk.

    Hi,
    Fed up with seeing the spinning beach ball I decided to reformat my MacBook Pro...
    After backing up everything on an external hard drive I put in the OSX install DVD, restarted the machine and held down 'C'.
    I followed the install prcedure, clicking next a few times etc...
    I then went into Utilities > Disk Utility. I chose 7-Pass to erase the Macintosh HD and set it off erasing.
    I checked the process an hour in and message on screen read:
    Secure disk erase failed with the error:
    could not open disk
    The internal hard drive no longer exists in the disk utility so I cant retry erasing it.
    The only thing that appears in disk utility is the OSX install DVD.
    I can't even shut down the mac as everything under the apple tab is greyed out!
    I'm guessing this means my hard drive is broken right?
    If anyone has any other ideas of what to try I'd really appreciate that.
    How do I turn the machine off?
    If my hard drive is gone then should I consider getting an SSD drive?
    Any recommendations for such a drive would be great.
    Hope you can help!

    Did you partition the drive?
    Extended Hard Drive Preparation
    1. Open Disk Utility in your Utilities folder. If you need to reformat your startup volume, then you must boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger or Leopard.)
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Click on the Options button, set the partition scheme to GUID (only required for Intel Macs) then click on the OK button. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.

  • Error "Could not open [filename]...Please upgrade your plug-ins

    A collegue send us an CS4 InDesign file and when I opened, it says this:
    Error "Could not open [filename]. Please upgrade your plug-ins to their latest versions or upgrade to the latest of Adobe InDesign."
    Any suggestion? I also have CS4 installed.

    I see. Thanks for the help. I just confirmed with the sender of this file and it seems that she has CS5 installed. So, I can that you're right that it's a CS5 file.
    Thanks, again.

  • Ebs 11i Cloning in Win 2003 dbtier fails with ERROR: Could not open

    Hi,
    The rapidclone - DBTier cloning (11i) on Windows 2003 server fails with the following weird error message.
    There is no detailed log file created.
    echo %PATH%
    f:\oracle\prodora\8.0.6\bin;f:\oracle\proddb\9.2.0\apache\perl\perl\5.0053\bin\mswin32-x86;D:\mksnt\mksnt;;
    F:\oracle\proddb\9.2.0\appsutil\clone\bin\> perl adcfgclone.pl dbTier
    Enter the APPS password [APPS] :
    apps
    First Creating a new context file for the cloned system.
    This program is going to ask you information about the new system:
    ERROR: Could not open
    Any inputs on this really appreciated.
    Thanks,
    Prasanna

    which perl picks up from the path f:\oracle\proddb\9.2.0\apache\perl\5.00503\bin\mswin32-x86/perl.exe.
    Please check the below messages.
    I had verified adchkutl.sh script too (not sure whether this will be invoked in windows env) ?
    F:\oracle\prodappl\ad\11.5.0\bin>which perl
    f:\oracle\proddb\9.2.0\apache\perl\5.00503\bin\mswin32-x86/perl.exe
    F:\oracle\prodappl\ad\11.5.0\bin>adchkutl.sh
    Checking for make... found - D:\mksnt\mksnt/make.exe
    Checking for ld...
    Unable to locate 'ld' utility in path
    Checking for cc...
    Unable to locate 'cc' utility in path
    Checking for ar...
    Unable to locate 'ar' utility in path
    Unable to locate all utilities with system path.
    PATH = f:\oracle\proddb\9.2.0pache\perl?.0050in\mswin32-x86;D:\mksnt\mksnt;;
    F:\oracle\prodappl\ad\11.5.0\bin>which ld
    D:\mksnt\mksnt/ld.exe
    F:\oracle\prodappl\ad\11.5.0\bin>which cc
    D:\mksnt\mksnt/cc.exe
    F:\oracle\prodappl\ad\11.5.0\bin>which ar
    D:\mksnt\mksnt/ar.exe
    F:\oracle\prodappl\ad\11.5.0\bin>
    Thanks

  • Entourage error 'could not open that feature end of file reached

    When opening Entourage I received the error 'Could not open that feature. End of file reached' I tried Utility and rebuild. when attempting to rebuild a pane came up stating 'preparing to rebuild 0 of 0' and the pane has been stuck there for 8 hours. Every other office product works though. any ideas?

    Contact Microsoft for support. That's not an Apple product.

  • Error: could not open `C:\Program Files\Java\j2re1.4.0_01\lib\i386\jvm.cfg'

    I am geting this error when I enter the "java" command:
    "Error: could not open `C:\Program Files\Java\j2re1.4.0_01\lib\i386\jvm.cfg'"
    I have configured the PATH variable (Windows 2000) and "javac" works. I cannot, however, get my programs to run because of the error every time I type "java". Also, I did not install my JDK / SDK to the directory in which the computer is looking for the "java" cammand (ie. it is not in 'Program Files'...). If anyone can help, it would be greatly appreciated. Thank you.

    Try using the -cp switch on the command line. For example:java -cp . MyProgramIf this corrects the problem, you need to set the classpath variable
    as well as the path.
    Mark

  • Error: could not open the file /var/lib/pacman/sync/.....

    Heya Arch Forums,
    So it's my first time installing and I've made it to the point were I'm ready to install X11.
    When I run "pacman -S xorg-server xorg-xinit xorg-server-utils" my console returns the following errors:
    error: could not open file /var/lib/pacman/sync/testing.db: Unrecognized archive format 
    error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/community-testing.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
    error: could not open file /var/lib/pacman/sync/testing.db: Unrecognized archive format
    These errors repeat again followed by:
    error: target not found: xorg-twm
    I'm in Canada, so I've only set my mirror list to use "Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch"
    Also, in my /etc/pacman.conf all SigLevel's are = Never.
    Thanks for any replies.

    skunktrader wrote:Did you run pacman -Syu before attempting to install new packages?
    Thanks for the quick reply
    Yes, however pacman -Syu as well as pacman -Syyu return the same errors.

  • Gerring Error -"Could not open command file"

    Hi All,
    I'm using Business Object Data services XI 4.0 .When I executes the job it given an error -"Could not open command file "
    so if anyone know the solution then please let me know.
    Thanks
    Rajeev kumar
    SAP-BODI Developer

    The -compat=4 (and the default -compat=5) compilation modes are not related to the compiler version. All compiler versions from 5.0 (1998) through 5.10 (2009) have these options. The C++ Migration Guide
    [http://docs.sun.com/app/docs/doc/819-5266]
    explains the differences in detail between -compat=4 and -compat=5, with examples of how to make old code compatible with standard C++.
    There is no compiler version 7. Perhaps you are thinking of the Sun Studio release. There is a Sun Studio 7 (containing C++ 5.4), but it is End Of Life, no longer available for purchase, and is not supported on Solaris 10. The recent releases are these:
    Sun Studio 11, C++ 5.8, supports Solaris 8, 9, 10
    Sun Studio 12, C++ 5.9, supports Solaris 9, 10, Open Solaris, Linux
    Sun Studio 12 update 1, C++ 5.10, supports Solaris 10, Open Solaris, Linux
    (Sun Studio 12 update 1 should be released next week. Watch this forum for an announcement.)
    Please run the command
    CC -V
    to find out your compiler version.
    When compiling on Solaris, 32-bit compilation is the default. You don't get 64-bit compilation unless you ask for it, via the -xarch option on older compilers, or the -m64 option on current compilers.

  • SAp J2ee Engine-Could not open MMC: error"could not open libsapu16vc71.dll"

    Hi,
    When I am trying top open MMC console to start the server getting an dialog box error "Could not open libsapu16vc71.dll". If I click OK its terminating.
    Any body have idea where I need to check the logs regarding this?
    please check this and help me.
    Thanks
    Venkat.

    Hi,
    Check following link.
    [Re: Can't access MMC;

  • Installation Error - Could not open key.............Please help

    Still trying to install iTunes and QuickTime, but have an error,
    Could not open key:
    HKEY_LOCALMACHINE\Software\Classes\QuickTimePlayerApp\CLSID.
    Verify that you have suffcient access to that key, or contact your support personnel.
    Any help would be most welcome, as I am desperate to use my new Nano my wife just bought me for my Birthday. In plain English if you can.

    +My next problem is, that whenever I plug my iPod Nano, 3rd Gen into my PC, it shuts down and reboots. Any ideas on this one?+
    Do you also get that if you try playing a movie using QuickTime?
    Are you getting any sort of blue screen when the PC shuts down? if so, what numerical and text codes are you getting with it? (ie 0x{zeros/letters/numbers} CAPSANDUNDERSCORES)
    If the blue screen mentions a specific file, let us know what that is called too. (Exact spelling, please.)
    Here's a reference on the sorts of things i'm asking about:
    Troubleshooting Windows Stop Messages
    If you're not seeing a blue screen (or just a flash of one), we can use this technique to make hidden blue screens appear for us:
    1) Open your system control panel (Start->Control Panels->System).
    2) Select the "Advanced" tab.
    3) Click the "Startup and Recover" section's "Settings" button
    4) Verify that under "System Failure" the "Automatically restart" checkbox is not checked.

  • Photoshop cse 5 error "Could not open scratch file because disk is not available" using Maverick

    I am getting the following error:
    "Could not open scratch file because disk is not available"
    I am using Adobe Photoshop CS5 on the Mac Operating System "Maverick". The application is currently loaded on an external bootable drive. I created an external bootable drive using "Disk Utilities". I've changed the directory /private/ to 777 using the following command "chmod -R 777 /private/". I have created the external bootable drive in the event that my current internal drive crashes. I would just then have to swap the drives out. I created the external bootable drive using DYNEX SATA Hard drive enclosure.
    Photoshop General Discussion

    I searched around and found the answer. My question was to specific. Jim Olvera had the same problem and this was the solution with the help of Adobe Support.
    OS X Mavericks. I was able to resolve it after a chat discussion with Adobe support. It is indeed a permissions issue apparently, but not one that can be resolved with Disk Utility. I was able to change to another scratch disk by holding down "Command + Option" as I launched Photoshop, and that did it. Still can't use the previous disk as a scratch, though, even though permissions have been repaired.
    JO
    Thank you for your suggestion, but I could not even get to the point where "Photoshop" would even open up.
    Thank you everyone!

  • Iexplorer setting that would cause export of xls error "Could not open ..."

    We have a situation where the same user, on two different machines, gets two different results. The user is attempting to export to xls. We are using Discoverer 10g viewer.
    On machine one, the error (Could not open https://server.co.net/discoverer/export/test.xls) prompts when attempting to open or save the exported xls. On maching two, the xls can be opened or saved with no problem. I'm guessing it is a security setting within iexplorer.
    Any thoughts...
    Thanks,
    Jamie

    The quick solution to the problem was to login to XP as an administrator, backup the user profile, remove the user profile, log off, have the user re login (basically recreates profile with latest certificates and security settings), update new profile with backup data (favorites, my documents, etc...), and now all is fine. Not sure which certificate or security setting was causing the problem, but now user has the most up to date profile.
    Jamie

  • ITunes 10.7 installation error:  "Could Not Open Key," etc. & Privileges error

    When attempting to download iTunes 10.7.0.021 (latest version for iOS 6 compatibility with my new iPhone5) I get the following error: 
    "Could not open key:  UNKNOWN\Components\DA42BC89BF25F5BD0AF18C3B91A1EE8\7E577B2224C65CF4E801A9E52375 DB49."
    This error pops up in the middle of my iTunes installation; After hitting okay, the installation proceeds and then another error message reading:
    "Apple Mobile Devices Failed To Start.  Please make sure you have sufficient privleges... etc."
    I don't know what to do about both of these errors, so if you find a solution please e-mail me:  [email protected]

    try with this one
    uninstall all the apple application S/w like Quicktime, Bonjour,
    apple Device Support, Apple Auto update, Itunes etc from your pc,
    Reboot it
    Now download a fresh itunes from apple and try installing
    Reboot it
    If you are having Problem in uninstalling any of the apple application
    try 'revo uninstaller' and uninstall all the apple applications
    mentioned above

  • Java -version error: could not open`C:\xml_render\java\lib\amd64\jvm.cfg

    I updated my laptop to the latest recommended Java update. After installing, i tested out the install by doing a java -version. Instead of executing, i got the following error:
    Error: could not open `C:\xml_render\java\lib\amd64\jvm.cfg'
    i installed JRE under the C:\xml_render\java sub-directory. The Java installer did not create an amd64 sub-directory.
    Have tried to troubleshoot this for a few hours, could not figure out what points to `C:\xml_render\java\lib\amd64', so i would greatly appreciate some help.
    Here is version and environment info:
    Windows 7
    Installed 32-bit JRE
    java version: 1.6_38
    previously had 1.6_35, 32-bit, which i had uninstalled.

    This sounds like you already had Java installed, then installed a new one, but the old one is still in your PATH, or the Windows registry is pointing to the wrong one.
    follow the links...
    http://forum.java.sun.com/thread.jsp?forum=54&thread=184728
    http://java.sun.com/j2se/1.3/install-windows.html#Environment
    good luck!

  • [SOLVED]Pacman error: could not open file /var/.../portaudio

    Anyone got any insight?
    Any pacman or AUR-helper operation I try to do results in many repititions of this error.
    [marcus@ARCH ~]$ packer -Syu
    Password:
    :: Synchronizing package databases...
    core is up to date
    extra 450.4K 401.0K/s 00:00:01 [##########################################] 100%
    error: failed retrieving file 'community.db.tar.gz' from mirrors.easynews.com#####-------------] 68%
    community 372.7K 997.9K/s 00:00:00 [##########################################] 100%
    :: Starting full system upgrade...
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    [snip many repeats of same error]
    [marcus@ARCH ~]$ packer portaudio
    0 error: could not open file /desc: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    1 community/desc: 19_20071207-2error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    2 aur/haskell-portaudio 0.0.1-2
    Haskell bindings for the PortAudio library.
    3 aur/mingw32-portaudio 19_20071207-1
    A free, cross-platform, open source, audio I/O library (mingw32)
    4 aur/portaudio-svn 1384-3
    PortAudio is a free, cross platform, open-source, audio I/O library.
    5 aur/pyaudio 0.2.3-3
    Python bindings for PortAudio, the cross-platform audio I/O library
    6 aur/portaudio_v18 pa_snapshot_v18-3
    A free, cross-platform, open source, audio I/O library
    Type numbers to install. Separate each number with a space.
    Numbers: 1
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/depends: No such file or directory
    desc: package not found, searching for group...
    error: could not open file /var/lib/pacman/sync/community/portaudio-19_20071207-2/desc: No such file or directory
    error: 'desc:': not found in sync db
    Last edited by Skripka (2010-05-11 18:21:11)

    hokasch wrote:looks like that mirror has some problem, switch to another one for the time being
    That mirror does have a problem...but switching to a different mirror returns the same mystery local error.  PS-I haven't had portaudio installed on my system in at least 6 months, and pacman has started returning errors about it this morning
    Last edited by Skripka (2010-05-11 18:15:33)

Maybe you are looking for