Four new polyketides (1-4) were isolated from the fungus Paecilomyces variotii, which was derived from the jellyfish Nemopilema nomurai. The planar structures and relative configurations of these polyketides were elucidated on the basis of spectroscopic analyses, including 2D NMR experiments. The compounds showed inhibitory activity against pathogenic bacteria including methicillin-resistant Staphylococcus aureus 3089 and multi-drug-resistant Vibrio parahemolyticus 7001 with MIC values in the range 5-40 μg/mL.