Green’s Dictionary of Slang

blackjack n.1

[SE black, the colour of the drinks/treacle + jack n.14 ; note sugar trade blackjack, burnt sugar, used to give flavour to drinks sold as purported ‘coffee’]

1. (US) rum sweetened with molasses.

[UK]Merrie Men of Hoxton in Oxberry Budget of Plays I (1844) 105/1: He takes a pull at his black jack.
[US]‘Edmund Kirke’ My Southern Friends 112: A mug of ‘black jack’ helps him amazingly.
[US]Bartlett Dict. Americanisms (4th edn) 45: Black-Jack [...] 2. Rum sweetened with molasses. New England.

2. (US, also blackjack coffee) very strong black coffee, usu. sweetened with molasses.

[US]J. Tully Shadows of Men 61: On Sunday we got black-jack coffee.
[US]Irwin Amer. Tramp and Und. Sl. 29: Black Jack.— [...] the sailor and lumber jack have long so called the strong black coffee served aboard ships and in lumber camps.
[US]Monteleone Criminal Sl. (rev. edn).

3. (Aus.) treacle.

Folkestone, Hythe...and Cheriton Herald 30 Apr. 6/5: The proud mother who presided introduced ‘Black Jack’ [...] contained in the form of a syrup in a tin.
[Aus]Courier-Mail (Brisbane) 10 Jan. 12/5: Some bakers, however, make white bread into ‘wholemeal’ by the simple expedient of colouring the white bread with ‘blackjack’ or crude molasses.
[Aus]Baker Aus. Lang. 81: Consider, for example, these slang names for treacle and golden syrup: longtail, spare boy, Kidman’s blood mixture, KIdman’s joy, beetle bait, black jack, bullocky’s joy, cocky’s joy and tear-arse.

4. (US) illegally distilled whisky.

[US]in DARE.