Unless the guitar has active electronics it does not actually produce a signal. You need an amplifier between the guitar and computer or a guitar interface device. If your guitar amp has a headphone jack, that should work.
It looks like you edited your post after I responded. Please explain the complete chain of equipment between the guitar and computer.