A compound of Formula: and/or a pharmaceutically acceptable salt thereof, wherein: J is N; J' is CR 1 where R 1 is hydrogen; Ar is phenyl, optionally substituted with one, two, three, or four substituents independently selected from alkyl, hydroxy, alkoxy, halo, haloalkyl, haloalkoxy, and cyano; R 2 is hydrogen, alkyl, alkynyl, acyl, alkoxycarbonyl, haloalkyl, cycloalkyl optionally substituted with amino, alkylamino, dialkylamino, or hydroxy, cycloalkylalkyl, hydroxyalkyl, alkoxyalkyl, alkoxyalkyloxyalkyl, aminoalkyl, heterocyclyl (wherein heterocyclyl is optionally substituted with one, two, or three substituents independently selected from alkyl, halo, hydroxy, alkoxy, hydroxyalkyl, alkoxyalkyl, alkoxyalkyloxy, aminoalkyl, optionally substituted aryl, optionally substituted heteroaryl, and optionally substituted heterocyclyl), heterocyclylalkyl (wherein the heterocyclyl ring in heterocyclylalkyl is optionally substituted with one, two, or three substituents independently selected from alkyl, halo, acyl, hydroxy, alkoxy, alkoxycarbonyl, hydroxyalkyl, alkoxyalkyl, aminoalkyl, optionally substituted aryl, optionally substituted heteroaryl, and optionally substituted heterocyclyl), aralkyl, heteroaralkyl, phenyl, or heteroaryl (where the phenyl ring in aralkyl, the heteroaryl ring in heteroaralkyl, phenyl, and heteroaryl are optionally substituted with one, two, or three substituents where two of the optional substituents are independently selected from alkyl, hydroxy, alkoxy, halo, haloalkyl, haloalkoxy, and cyano and one of the optional substituents is alkyl, cycloalkyl, hydroxy, alkoxy, halo, haloalkyl, haloalkoxy, cyano, hydroxyalkyl, alkoxyalkyl, aminoalkyl, optionally substituted aryl, optionally substituted heteroaryl, or optionally substituted heterocyclyl); and Q is alkylene or substituted alkylene; and X is a group of formula (a): wherein: R 3 is hydrogen, alkyl, haloalkyl, hydroxy, alkoxy, or halo; and R 4 is hydrogen, alkyl, hydroxy, alkoxy, or halo; Y is -CO- or -SO 2 -; R c is hydrogen, alkyl, or substituted alkyl; and R d is hydrogen or alkyl; or R d and the hydrogen atom on carbon attached to group Y can form a bond to give a triple bond J is N; J' is CR 1 where R 1 is hydrogen; Ar is phenyl, optionally substituted with one, two, three, or four substituents independently selected from alkyl, hydroxy, alkoxy, halo, haloalkyl, haloalkoxy, and cyano; R 2 is hydrogen, alkyl, alkynyl, acyl, alkoxycarbonyl, haloalkyl, cycloalkyl optionally substituted with amino, alkylamino, dialkylamino, or hydroxy, cycloalkylalkyl, hydroxyalkyl, alkoxyalkyl, alkoxyalkyloxyalkyl, aminoalkyl, heterocyclyl (wherein heterocyclyl is optionally substituted with one, two, or three substituents independently selected from alkyl, halo, hydroxy, alkoxy, hydroxyalkyl, alkoxyalkyl, alkoxyalkyloxy, aminoalkyl, optionally substituted aryl, optionally substituted heteroaryl, and optionally substituted heterocyclyl), heterocyclylalkyl (wherein the heterocyclyl ring in heterocyclylalkyl is optionally substituted with one, two, or three substituents independently selected from alkyl, halo, acyl, hydroxy, alkoxy, alkoxycarbonyl, hydroxyalkyl, alkoxyalkyl, aminoalkyl, optionally substituted aryl, optionally substituted heteroaryl, and optionally substituted heterocyclyl), aralkyl, heteroaralkyl, phenyl, or heteroaryl (where the phenyl ring in aralkyl, the heteroaryl ring in heteroaralkyl, phenyl, and heteroaryl are optionally substituted with one, two, or three substituents where two of the optional substituents are independently selected from alkyl, hydroxy, alkoxy, halo, haloalkyl, haloalkoxy, and cyano and one of the optional substituents is alkyl, cycloalkyl, hydroxy, alkoxy, halo, haloalkyl, haloalkoxy, cyano, hydroxyalkyl, alkoxyalkyl, aminoalkyl, optionally substituted aryl, optionally substituted heteroaryl, or optionally substituted heterocyclyl); and Q is alkylene or substituted alkylene; and X is a group of formula (a): wherein: R 3 is hydrogen, alkyl, haloalkyl, hydroxy, alkoxy, or halo; and R 4 is hydrogen, alkyl, hydroxy, alkoxy, or halo; Y is -CO- or -SO 2 -; R c is hydrogen, alkyl, or substituted alkyl; and R d is hydrogen or alkyl; or R d and the hydrogen atom on carbon attached to group Y can form a bond to give a triple bond Q is alkylene or substituted alkylene; and X is a group of formula (a): wherein: R 3 is hydrogen, alkyl, haloalkyl, hydroxy, alkoxy, or halo; and R 4 is hydrogen, alkyl, hydroxy, alkoxy, or halo; Y is -CO- or -SO 2 -; R c is hydrogen, alkyl, or substituted alkyl; and R d is hydrogen or alkyl; or R d and the hydrogen atom on carbon attached to group Y can form a bond to give a triple bond R 3 is hydrogen, alkyl, haloalkyl, hydroxy, alkoxy, or halo; and R 4 is hydrogen, alkyl, hydroxy, alkoxy, or halo; Y is -CO- or -SO 2 -; R c is hydrogen, alkyl, or substituted alkyl; and R d is hydrogen or alkyl; or R d and the hydrogen atom on carbon attached to group Y can form a bond to give a triple bond