Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Daniele Futtorovic Newsgroups: comp.lang.java.programmer Subject: Re: Java Jython RDKit, some progress, still confused Date: Thu, 18 Jun 2020 16:15:55 +0200 Organization: A noiseless patient Spider Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 18 Jun 2020 14:16:01 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="e825d4baf0fe2860be23a4a59be8d11c"; logging-data="8210"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19UEU31NVGlu5Wqr7KJBh3s" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 Cancel-Lock: sha1:pWg93tT62KwPezDQDzGlnNKIAio= In-Reply-To: X-Antivirus-Status: Clean Content-Language: en-US X-Antivirus: AVG (VPS 200617-14, 06/17/2020), Outbound message X-Mozilla-News-Host: news://news.eternal-september.org Xref: csiph.com comp.lang.java.programmer:39520 On 2020-06-17 17:58, vjp2.at@at.BioStrategist.dot.dot.com wrote: > Same error "could not find the main class" > > Got rid of the -cp and -jar and again, same error > > Found something online that rnning a program as > java x.class intread of java x causes this problem > > But I'm still stumped why they complied something used in classpath as .jar > instead of .class > > YOu can find out about my setup by google > > https://www.baeldung.com/java-could-not-find-load-main-class > JARs normally declare their Main (entry point) class in META-INF/MANIFEST.MF. Maybe the version you have doesn't. Again, I would encourage you to download an up-to-date version of jython-standalone. Also, in order to eliminate mistakes stemming from the complex setup, you should start by seeing whether you're able to run a simple script, as I illustrated. -- DF.