🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #153689

Dynamiczny kod Java

#153689
From: J-23
Date: Sat, 08 Dec 2012 22:54
15 lines
1372 bytes
Witam
Od kilku dni próbuje wykonać kod dynamiczny w Javie
Znalzałem coś takiego:

http://www.accordess.com/wpblog/an-overview-of-java-compilation-api-jsr-199/

Wygląda fajnie ale przy próbie kompilacji dostaję
Exception in thread "main" java.lang.NullPointerException
	at com.accordess.ca.CompilerAPITest.doCompilation(CompilerAPITest.java:51)
	at com.accordess.ca.CompilerAPITest.main(CompilerAPITest.java:84)


Nie bardzo wiem jak to naprawić, ktoś podpowie?

Pozdrawiam
Technical Details
Message-ID: <ka0gqa$61k$1@mx1.internetia.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.supermedia.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.supermedia.pl!news.nask.pl!news.nask.org.pl!news.internetia.pl!not-for-mail
From: J-23 <baczeklu@o2.pl>
Newsgroups: pl.comp.lang.java
Subject: Dynamiczny kod Java
Date: Sat, 08 Dec 2012 23:54:12 +0100
Organization: Netia S.A.
Lines: 15
Message-ID: <ka0gqa$61k$1@mx1.internetia.pl>
NNTP-Posting-Host: 87-205-162-51.adsl.inetia.pl
Mime-Version: 1.0
X-Trace: mx1.internetia.pl 1355007626 6196 87.205.162.51 (8 Dec 2012 23:00:26 GMT)
X-Complaints-To: abuse@inetia.pl
NNTP-Posting-Date: Sat, 8 Dec 2012 23:00:26 +0000 (UTC)
X-Tech-Contact: usenet@internetia.pl
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1
X-Server-Info: http://www.internetia.pl/
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit