Javah utility question?

I used javac to complie my java code and used javah to create the .h file at C:\ . But I can't do it, it shown "Error: Class HelloWorld.class could not be found." The HelloWorld.class was at C:\ path...but I don't know why it will show class could not be found.
Can someone solve my problem?

I guess you should check your CLASSPATH
( particular the current Directory -> dot '.'
eg. .;myclasses.jar;...
cioa
G�nter

Similar Messages

  • Older disk utility question

    I can't find my installation disks for 10.4. The most recent one I can find is 10.2
    I ran verify disk on Onyx and it told me the disk needed repair and that I needed to run disk utility from the cd.
    1. is there any difference between the 10.2 disk utility and the newer 10.4 version that might corrupt the system?
    2. I ran multiple tests with Tech tool pro and passed everything. Is there something Disk Utility does that tech tool pro isn't doing?

    Wow, you do your research in addition to answering everyone's questions! Apple should be paying you. I'll offer some personal comments, which I'm sure you're familiar with. I'm not a Mac specialist; but as one very experienced system programmer once said to me, 'All operating systems are basically the same'.
    I discover things by using theory, then discover them wrong in an 'Ars Technica' article, because Mac changed something. The Wikipedia is essential for puzzling terms and even basics.
    In addition to Apple's incomparable 'Help System', 'Apple Support', and 'Apple Boards', I can recommend independent forums (though I don't use them). CNET has a list:
    http://forums.cnet.com/mac-forums/
    Some favorites are
    MacFixIt Forums
    http://archive.macfixitforums.com/?tag=blankArea.1
    MacRumors Forums:
    http://forums.macrumors.com/forumdisplay.php?f=78
    Printing
    My preference has always been HP inkjet printers, if only for their level of support in CUPS for MacOSX and GNU/Linux. Using their inks & papers, I can spend my time on research rather than fiddling with ICC profiles. (I think I had four drivers, three CUPS PDD's and the standard one.) Rather than change my 'presets', I created a different virtual printer for duplex B&W, 4x6 glossy color, &c. Nice for OOUI users.
    Debian GNU/Linux has an HP control panel for fine adjustments, ink levels, etc. There are better printers, I'm told; but HP is Mac & Linux friendly:
    HP Support Forum for Mac Printing and Scanning
    http://h30434.www3.hp.com/t5/Mac-printing-and-scanning/bd-p/Macintosh

  • RAID with Disk Utility question

    I've setup a RAID array in disk utility for an external SATA NAS that I have. The Silicon Image Si3132 drivers are not working for Snow Leopard (the SATARAID 5 drivers) so I've installed the base non-raid drivers for 10.6.
    I'm using Disk Utility to setup the RAID for now until I get updated drivers from SI. Here's my question:
    Let's just say that my Mac Pro one day decides to die and I have to rebuild a new OS on the machine. I will then have this external drive where I've configured a software RAID with Mac OS X. Will I be able to rebuild this RAID and recover the data, or will I lose all of the data if the Mac needs to be rebuilt?
    The external enclosure has its own controller, but these silicon image drivers do not seem to want to work as they are kernel panicking.
    Will I be able to recover the RAID config with disk utility if I rebuild the machine? My thinking is NO

    You have four internal hard drives; ability to boot from FW or USB, and I would include TimeMachine and clone (Carbon Copy Cloner or SuperDuper). Some WHS NAS servers also support TimeMachine and SuperDuper, but I would have local backups. Two minimum.
    I would not rely on SI or RAID.
    And all you need to boot from, and I'd have at least two, is a basic 30GB partition for Mac OS: a working copy of your system as is, a copy of last version installed also, AND, one "emergency" boot partition for disk maintenance and repairs.
    Then use NAS as second line of backup for your data, disk images, etc.

  • Db_deadlock utility questions and other

    Hello,
    First of all i want to say tha i m so new to databases that i may ask silly questions.
    I have an application (metadata server) that i want to replicate.
    I have made all the steps to build my replica. When i try to execute a mkdir command
    i m getting a deadlock or my application make db wait for ever. If i put the no locking flag,
    my db works fine but does not replicate with the other metadata server. So locking i reguired.
    Now i got 2 questions i tried to run db_deadlock utility.
    1. The results were 8 lockers found and 0 rejected.
    This means that there is no deadlock? and it is my application "fault"?
    2. The application is not designed for Bdb. it is on unix and it uses Posix threads.
    this reference distribes my problem? http://pybsddb.sourceforge.net/ref/txn/other.html
    (this is the dump questions i think).
    Thanks

    FW800 isn't as fast, potentially, as SATA is but if you cannot put drives on the internal bus then FW800 is a far better choice than FW400. There aren't many drives that will transfer faster than the FWW800 bus. Setting up two striped RAIDs and using one as the mirror of the other will provide protection against drive failure but not necessarily redundancy. Whatever is written to one RAID is automatically written to the other, hence if data are corrupted on one, it will be corrupted on the other. However, if you are using this setup as a backup system, then it provides redundancy.
    Now whether you need a RAID to accomplish this is another question. Bare drives are now available as large as 1 TB, so unless you need 2 TBs of data storage you could satisfy your plan without a RAID.
    You can use Disk Utility to create a software RAID or you can purchase third-party software. Either will work. OS X can create RAID0, RAID1, RAID5 and RAID0+1.
    I can't tell you how to box up the system. I don't see any difference between one case with 4 drives or two cases with two drives each.

  • Airport Setup Utility Question

    My former Windows friend just bought a MacBook and Airport Extreme. She has Comcast and has asked me to help her set up the connection. I've never done this before but willing to try.
    I'm prepping by reading all the articles and instructions and right off the bat comes a question when using the Airport Setup Utility. At the "Specify Your IP Address" portion the user is told "Enter the TCP/IP information you received from your internet service provider. Choose Using DHCP if you receive an IP address automatically. Choose Manually to enter a specific IP address."
    I thought DHCP was assigned automatically so my question is, does she have to fill in anything for the IP Address, Subnet Mask, Route Address, DNS Server or will that fill in automatically as we go along? (i.e, do we have to worry about this and/or obtain the address - that is going to delay our session because she'll have to call Comcast to get that information and getting through to the tech support at Comcast is near impossible.)

    ...does she have to fill in anything for the IP Address, Subnet Mask, Route Address, DNS Server or will that fill in automatically as we go along?
    Not if her ISP uses DHCP.

  • Making disks appendable in Disk Utility question

    Hi,
    I found these notes about doing multiple burns on a disk (see below and it mentions changing the extention name to .img so that disk utility will give you the make disk appendable option.
    I understand all that but my question is will this change the ability of the file to open in a new or old Mac (I have an old iMac G3 slot loading, PowerbookPC G4, and the new intel C2D 17"? My assumption is it will be fine in a new Mac but what about my older G3? I want to burn a disc and leave it appendable but am afraid by changing it to .img it won't open in the G3.
    Thanks,
    S.
    1. Collect the material you want to burn in a folder on your Desktop. Open Disk Utility.
    2. Select Disk>New>Disk Image from the Folder menu. Use the dialog box to navigate to the folder you have created on your Desktop, and select "Image." Name your new image, select a destination for the new file, and click "Save." Your file name should end in .img.
    3. Back in Disk Utility, click the toolbar "Burn" button, navigate to the disk image you just created, selected, and click "Burn." Another dialog box will appear. Click the blue triangle but in the upper right hand corner. The dialog box will expand, giving you an additional selection of options. Click "Leave disk appendable," then click the "Burn" button to initiate the burn.
    4. When you want to add a subsequent burn to that disk, repeat the process described above, but in the final dialog box, you will then see an "Append" button instead of a "Burn" button. This process can be repeated until there is no more free space left on the disk to create appended sessions.

    Where is the tip of the week? When I clicked onto this site I saw it on the headline thing but then when I went into the archive of tips and to the top ones displayed I didn't see it.
    I tried just using .dmg and then found another site that said to click burn then pop the disk in and then click the make appendable button but I was unable to do this as it was a faded grey colour and did nothing when I clicked on it.
    S.

  • Repairing disk with disk utility question

    hello,
    I had a few questions regarding disk utility
    1. I have 2 user account on my computer, one admin, one regular
    2. run disk utility from regular account...tells me i need to repair disk
    3. run disk utility from admin account...tells me the disk is fine
    4. I want to run the repair disk function from my boot disk to be safe
    5. will it erase my data or corrupt any data at all...I do have backup, just want to be prepared for anything

    Hello! You can't repair the boot disk unless booted from the install cd/dvd. It sshould do just fine repairing the hd while booted from the cd/dvd but it's always a good idea to have everything backed up. Personally I use multiple bootable clones. Tom

  • Disk Utility Question + TM

    I recently made a partition on my External USB disk for Time Machine.
    I split the 120G HD into a 100G and 20G partition.
    I wanted to use the 20G for the Time Machine backup... but apparently it's not going to fit on that as planned lol.
    So my question is, If I use the Disk Utility app to join the 2 partitions together into 1 again, will it wipe all the files on the 120G drive clean and then join them or will it keep them there and just join them?
    Second question is a quick one, can the TM backup be in the same drive as the 120G with all other files? or does it have to be on its own HD alone?
    Thanks in advance! I've learned so much from asking questions on these support forums!

    I would backup the HD before repartitioning it, no matter what the partition program says.
    Yes, TM can use a partition on an external drive. In fact it can share the partition with other files or folders.
    I have partitioned my external drive into a small partition for my Tiger backup and use the other larger partition for TM. On one machine, I also have some old backups on the same partition that TM is using
    TM creates its own folder and keeps everything for its own use.
    The TM partition should be at least 3x as large as the space your are currently using on your HD.
    The first TM backup will copy all your files so you immediately lose that much space. Additional backups by TM only copy changes, so the TM file does not grow very fast after that.

  • Cany you help me with Installation and Disk Utility questions?

    Greetings.
    I'm just learning this stuff, so your responses in basic terminology would be appreciated. (Instruct me as you would my grandson). I have two questions.
    First, I bought a used dual 450 from a friend, and, as I do not have the disks or license for the OS, I decided to make it legal by purchasing, registering, and installing new Panther DVDs. As I have been running 10.3.9 and the new disks are labeled eMac 10.3.3, is there anything I should or should not do in the process of installing the new disks? Do I need to install 10.3.3 and then download the 10.3.9 update? Will I lose anything in the process? I assume the eMac disks will work OK on a G4 tower.
    Second, After power failures (common where I live), when I re-start the computer, it won't progress beyond the spinning spoke thing (I don't know what it's called), so I have to shut the computer down, and, after one or two more attempts to start up, it seems to start up OK.
    I was told that, after a situation like this, I should start up with the install disk and run Disk Utility to repair the start-up disk.
    The problem is that when I attempted to do this with the new DVD (again, I have not installed the OS from the DVD yet), the computer started up fine, but Disk Utility ran for a minute or so, then gave me the following message: "Disk Utility has lost its connection with the Disk Management Tool and cannot continue. Please quit and relaunch Disk Utility." This happened twice in succession. I quit Disk Utility (although it warned me that I could rended the disk inoperable). The disk seems OK, but I don't know what the problem is with DIsk Utility, or what to do.
    Thanks for your help.
    G4 Dual 450   Mac OS X (10.3.9)   1 GB RAM

    The problem is that when I attempted to do this with
    the new DVD (again, I have not installed the OS from
    the DVD yet), the computer started up fine, but Disk
    Utility ran for a minute or so, then gave me the
    following message: "Disk Utility has lost its
    connection with the Disk Management Tool and cannot
    continue. Please quit and relaunch Disk Utility."
    This happened twice in succession. I quit Disk
    Utility (although it warned me that I could rended
    the disk inoperable). The disk seems OK, but I don't
    know what the problem is with DIsk Utility, or what
    to do.
    Hi Jerry:
    Getting back to the problem you're having with Disk Utility, a number of people have encountered this following an update to iTunes. If I understand correctly, when you bought the G4 it came with Panther installed, which your friend had updated to 10.3.9.
    In an earlier post, Kappy posted the most succinct work-around I have found for this error:
    1. Navigate to the /Library/Receipts/ folder.
    2. Locate the iTunes.pkg and iTunesX.pkg files and move them to the Desktop.
    3. Run Disk Utility and repair permissions.
    4. Move the .pkg files back into the /Library/Receipts/ folder.
    Give it a try and let us know how it works. As for your installation DVD, I have to concur with the others who have posted: it's meant specifically for one model of the eMac. It may work on another mac, but odds are it'll be problematic.
    Andrew

  • Migration Utility Question RE: User accounts

    Hi,
    I bought a new Macbook Pro and set it up with myself as the user. There wasn't much data on it, I just used it to surf the net. Now I would like to give it to my daughter to replace her three year old MBP. She will use the Migration Utility to transfer all her programs etc. I have tried to find the answer here but haven't been able to. My question is, will migration replace my user account with her's or will mine remain and her's be added as a new one? Probably best to start from scratch? Thanks

    Thanks for the help..Now the problem is finding the correct cable. The old machine has a different firewire port than the new one. It looks like she needs a 6pin to 9pin..no one in Dallas has it..! We tried ethernet but it is looking for a network.

  • Portege M800-107: Power Management & HDD Protection Utility questions!

    Hi all,
    I own a Toshiba Portege M800-107, I have recently installed windows 7 (ultimate edition), which enhanced my laptop capabilities. The only problems I face are:
    1) The Power Management utility, where I have install the required drivers from the official page of Toshiba, the problem is that the Value Added package is installed without the power management. For now I over come the problem by using the power options offered by Windows 7.
    2) The most important problem is the HDD Protection Utility which every time I try to install the driver from the official site, it stops the installation with the reason that this "hardware is not supported by this computer"
    Apart those problems the laptop is working perfectly and faster.
    If any one could assist me with my problems I would be very appreciated.

    > 1) The Power Management utility, where I have install the required drivers from the official page of Toshiba, the problem is that the Value Added package is installed without the power management. For now I over come the problem by using the power options offered by Windows 7.
    There is no special Power Saver tool for Win 7. The Value added package provides some additional options which you can find in Win 7/Vista power management.
    Check this HowTo:
    http://forums.computers.toshiba-europe.com/forums/ann.jspa?annID=41
    > 2) The most important problem is the HDD Protection Utility which every time I try to install the driver from the official site, it stops the installation with the reason that this "hardware is not supported by this computer"
    The HDD Protection Utility using the acceleration sensor built in the computer.
    The point is that there are different M800 on the market and possibly your M800 does not support the acceleration sensor. This could be the reason why you cannot install this tool.

  • Hard Drive Backup Utility - Question

    I have a P67A-GD55 and everything is working wonderfully. I would like more information concerning the Hard Disk Drive Backup Utility in the BIOS.  The BIOS Version is 1.9 and that came on the board from the time of purchase.
    I can get to the HARD DRIVE BACKUP option in BIOS and it seems like it times out waiting for something...which I have yet to figure out.
    My intention is to do a complete backup to an another drive LETTER: which is currently the identical sized partition on the same physical drive. I was able to use CLONEZILLA x64 but would prefer to use the built in Utility.
    Any help would be greatly appreciated.
    My System;
    MSI P67A-GD55 B3 Stepping (Bios version 1.9)
    I7 2600K             
    G.SKILL 8Gb DDR3 1600   F3-12800CL9D-8GBRL
    MSI N5500GTX-Ti Video card
    Hitachi 2Tb 7200 6Gb SATA Hardrive
    Win 7 Home Prem x64

    i dont recommend windows backup utility, not comprehensive enough.
    if u are a home user, there are many free utilities out there.
    drive backup, true image and todo backup are all good backup tools.
    they are all can help you.
    personally, i use todo backup.
    http://www.todo-backup.com/products/home/free-backup-software.htm

  • Backing up files on Disk Utility question

    So I followed this steps:
    Clone Yosemite, Mavericks, Lion/Mountain Lion using Restore Option of Disk Utility
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         1. Select Disk Utility from the main menu then press the Continue
             button.
         2. Select the destination volume from the left side list.
         3. Click on the Restore tab in the DU main window.
         4. Select the destination volume from the left side list and drag it
             to the Destination entry field.
         5. Select the source volume from the left side list and drag it to
             the Source entry field.
         6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    Note that the above clone includes both your internal boot volume and the Recovery HD volume you used for the above. I suggest that the backup disk you use has a larger capacity than the one in your computer. That way you should be able to boot from this backup. Since the drive you have is 500 GBs then the external drive you use for the backup clone should be at least 750 GBs.
    And I followed the steps  mentioned. Source: Macintosh HD ... Destination: My Passport for Mac. It asked me if I wanted to erase the content on My passport for mac and I said yes. But then it says "Restore Failure: Source volume is read/write only and cannot be unmounted, so it can't be block copied". What does that mean? And what do I do?
    I already tried:
    Disk ulitiy and click on "Macintosh HD" and then click "New Image" and then select "My Passport for Mac" to save on there. I put "compressed"for Image Format AND For encrytion,  i pick "128-bit AES encryption (recommended)"
    I put in a password when prompted but after that it says "Disk Ultitiy wants to use the "login" keychain." I put in my ususally login password that I use to get on to my desktop but that doesn't work. I have the option to press ok or cancel. I pressed cancel and the progress bar to saving my macintosh HD to MY external hard drive portable didn't show any blue bar progress for 15 mins or so...

    So I followed this steps:
    Clone Yosemite, Mavericks, Lion/Mountain Lion using Restore Option of Disk Utility
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         1. Select Disk Utility from the main menu then press the Continue
             button.
         2. Select the destination volume from the left side list.
         3. Click on the Restore tab in the DU main window.
         4. Select the destination volume from the left side list and drag it
             to the Destination entry field.
         5. Select the source volume from the left side list and drag it to
             the Source entry field.
         6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    Note that the above clone includes both your internal boot volume and the Recovery HD volume you used for the above. I suggest that the backup disk you use has a larger capacity than the one in your computer. That way you should be able to boot from this backup. Since the drive you have is 500 GBs then the external drive you use for the backup clone should be at least 750 GBs.
    And I followed the steps  mentioned. Source: Macintosh HD ... Destination: My Passport for Mac. It asked me if I wanted to erase the content on My passport for mac and I said yes. But then it says "Restore Failure: Source volume is read/write only and cannot be unmounted, so it can't be block copied". What does that mean? And what do I do?
    I already tried:
    Disk ulitiy and click on "Macintosh HD" and then click "New Image" and then select "My Passport for Mac" to save on there. I put "compressed"for Image Format AND For encrytion,  i pick "128-bit AES encryption (recommended)"
    I put in a password when prompted but after that it says "Disk Ultitiy wants to use the "login" keychain." I put in my ususally login password that I use to get on to my desktop but that doesn't work. I have the option to press ok or cancel. I pressed cancel and the progress bar to saving my macintosh HD to MY external hard drive portable didn't show any blue bar progress for 15 mins or so...

  • Intel Mac Tower / RAID Utility question

    I have a new Intel Mac tower with three 500 gb hard drives and a RAID card inside. I am attempting to create a RAID5 with 2 partitions (one 60 gb for os and other programs, and another partition with just under 900 gb for file sharing) - Trying to install mac osx tiger server (10 Client version) on my 60gb partition. I was able to do the following: boot machine from Client Install CD that came with the tower(as far as I know the tiger server os disk that I purchased does not have a RAID utility on it), used the RAID utility to create a RAID5, used the RAID utility to create the 2 partitions. Everything appears to work just fine after the RAID builds and partitions are created on them. Now if I either attempt to boot from the install disk for either mac os x server, OR from mac os x client os, I get to the point where you choose the partition (or volume) to install the os on, and I see NO VOLUME in the window below. Am I doing something wrong? If I need to give more detail please let me know.
    Thanks for any help in advance!
    Eric

    Hi there ... i think i see what your issue is about.
    1) You bought a new MacPro CTO with the Raid card and want to turn your internal into a Raid 5 install.
    2) The raid card is again spanking brand new hardware in the machine and the actual support for the card does not come before 10.5 Server which is still on the way but you can certainly circumvent the issue with using a external drive install 10.4.x on the external and clone the external to your internal raid 5 to use as your boot drive.
    3) Make certain your partition on your 10.4 install is GUID on your raid. This is found in the Disk Utility options under the partition tab.
    4) Make sure your Mac os X server install DVD is 10.4.x Universal .. Do not use a 10.4 Server for PPC on a MacPro you ll meet 20 tons of worries . I would as well run the updates on the external drive first so when you clone you are up to 10.4.10 with all appropriate updates and utilities . As a safety measure installing your AppleRaid Card utility on the external drive would be a wise move so if they are updates to the utility they shall be taken into account.
    For a good clonning utility look for carbon copy cloner . it is not one of the fastest cloners out there but it is ROCK solid and fully supports 10.4.x server and a life saver as well.

  • Disk Utility Questions

    
    In disk utility on the left side i have my OS X drive, it says the Size of the formatted drive and the model number then below it and indented it has the Macintosh HD drive.
    do i want to verify and repair permissions and verify and repair disks on both of those or do i just do it with one or the other?
    thnx

    The outermost description is the physical drive, and the indented ones are the volumes on it (you can have multiple volumes/partitions on a drive). If you have only one volume on the drive, either one will do - you don't have to do both.

Maybe you are looking for

  • Is there any way to recover files on a corrupted drive if I can book to Lion Recovery Assistant?

    Is there anyway to recover files from a corrupted drive if I can boot to the on-disk Lion Recovery Assistant?  Unfortunately Apple replaced my screen in December and wiped my hard drive.  I restored my files from Time Machine but have not done a back

  • Multi-day events in month/year view

    I still use a paper year-planner because I can use it to more clearly visualise the shape and pattern of a month's (or the whole year's) major events: conferences, holidays, area meetings, upcoming bank-holidays and so on. I put everything in my year

  • HT1209 how to transfer non apple music from ipod to itunes

    had to restore computer, would like to take what is on ipod and import to itunes libary.                                                                                                          Thanks for your help                                    

  • HT5903 Are photos stored in Shared Photo Streams in full quality?

    Does anyone know whether photos uploaded to Shared Photo Streams are stored in full (original) quality? I'm interested to know whether Photo Streams can be relied upon for backing up photo collections (i.e. they can be downloaded again in original qu

  • How do you change Apple ID in Update Section?

    I need it help it really annoys me that I can't update my Apps?!?!?! It keeps showing my sister's apple ID. I've tried deleting settings, and loging off and back on!!