If it doesn't start, your starter may be the problem, since no matter how charged the battery is, your car won't start without a working starter. If it does start, but dies when unhooking the jumper cables, your alternator likely isn't providing the current your vehicle needs to keep running.