 Now in the town of Java , NY 78 uses the right @-@ of @-@ way once used by CR 11 northbound , winding past several farms as it proceeds northward . A short distance to the north , NY 78 intersects with NY 98 southbound . Both NY 78 north and NY 98 south turn west on a wrong @-@ way concurrency through the town of Java , running as a two @-@ lane residential street through dense woods and wide fields . Continuing west through Java , NY 78 and NY 98 cross over a railroad line and enter the hamlet of Java Center . In Java Center , NY 78 and NY 98 intersect with the southern terminus of NY 77 ( Cattaraugus Road ) . This intersection also doubles as the terminus of the NY 78 and NY 98 concurrency as NY 98 proceeds south on NY 77 's right @-@ of @-@ way . 
