-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 21.08.2015 11:40, David Brownlee wrote: > On 21 August 2015 at 10:23, Kamil Rytarowski <n...@gmx.com> wrote: >> >> I have got a new fancy utility with support for Java ME applets. >> >> Is there a way to build j2me 'hello world' application on NetBSD? >> I don't need the newest toolchain, neither IDE with GUI - just >> plain command line compiler is fine. > > We have a small J2ME app we're still supporting under PhoneME on > Windows Mobile devices. > > For building we just use openjdk8 with source & target set to 1.3. > It works well enough, providing you avoid String.isEmpty() and > suchlike, which will build fine but fail to run on the target > device. > > <target name="compile"> <!-- The client needs to run under PhoneMe > on Windows Mobile devices, which is a subset of the J2SE 1.3 stack > --> <mkdir dir="${build.dir}" /> <javac destdir="${build.dir}" > debug="true" fork="true" memoryInitialSize="512m" > memoryMaximumSize="1024m" source="1.3" target="1.3"> <src > path="src" /> <compilerarg > value="-Xbootclasspath/p:${bootstrap.class.path}"/> <compilerarg > value="-proc:none" /> <!-- <compilerarg value="-Xlint:deprecation" > /> --> </javac> </target> >
Thank you! I will give it a try. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJV24RSAAoJEEuzCOmwLnZs4pcP/10ToodBhsRQAaZV27ddNTlc jWXqDBV8U7UdiHRPGWjoRW6vYA5hASuR+YeoQEYOOxnxuKZvIkJZHLA5xF0es0uZ istUgbSXGwncX+e0dWq1KPoxVBcna/BzUZgaaKO8QCMBs0eIyiOS1nc4br1O8igt 3hOGMzDQoPoWJAtf5pQnlw4ssL1A5+256kOTX/V8GU0u3wXZuOc4Kb9YQ9nqqgOZ zpZbTGkghAFnSmnP/5dX8AlMoo3532S3gt32Hu69vKfBqoJjivfKMDkVRJ8xw5EJ g7u6CtNAsYZ0xqqzXGiDUbWyaYc7HRsZaevlGs8Ud89cJHvnZvhXzi8KtzgaeFpJ CxdxwOeQWGt/BWecsNkUDXsqt0QuwJ7u8I3mYUZPHp/uKMw2gcNc3LVT0saIWZ7H 4PULVhSHHDmYcum0gmJhG9GEktCaN9mLLMwbAku7IK1wBw7RJBXKbQSxQXw06Q7N SG/l52NfjpO6teP/JLM/srke6lH6XMy1Hz+m54We/IwnGs1rwqH04IyKYJDU8GDY sZ+hlT5Vq/zbamxC+vtq08G3/31EQQRflzhdbJCsUCDtW1xa7JX1+IUk00jcuTps PC8SRbe4biQkJBr2TRenfDfsi6RelOFy6Dpq9VzPBYqWwUEkurOgBX+2TXQCHUKG aats3Ocu2Npg88Y5TndI =o549 -----END PGP SIGNATURE-----