OBJECTIVES: I. Determine the objective response rate, progression-free survival, overall survival, and time to treatment failure in patients with unresectable locally advanced or metastatic adenocarcinoma of the stomach or gastroesophageal junction treated with oral nitrocamptothecin. II. Determine the toxicity of this regimen in these patients.