Drugmaker Merck & Co. is not liable for the medical monitoring of Vioxx users not claiming injury, the New Jersey Supreme Court ruled Wednesday.

The 5-1 ruling by the state’s highest court means a class action lawsuit by people who used the once-popular painkiller will be dismissed. One justice did not participate.