Engineeringserver.com

A Java community for computer science students & developers

Java compiler API, compiling made easy

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 3.33 out of 5)
Loading ... Loading ...
90 views

Before Java 1.6 was released to the public I used the Runtime class (found in java.lang) to call the java compiler (javac.exe) directly to compile a Java file from another Java application, the line of code that i used looks like this

JAVA:
  1. Runtime.getRuntime().exec("C:\\WINDOWS\\system32\\cmd.exe /c start javac " +  userDir + "\\test\\"+className + ".java");

But luckily for me Java 1.6 introduced a handy utility that makes it possible to compile a Java application within a Java application without making direct calls to an external application. To demonstrate that I wrote a HelloWorld Java file and a CompilerConsoleDemo class that compiles the HelloWorld java file.

JAVA:
  1. public class HelloWorld {
  2. public static void main(String[] args){
  3. System.out.println("Hello World");
  4. }
  5. }

Read the rest of this entry →

Tagged with:

[psp] Katekyoo Hitman Reborn! trailer for psp

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
30 views

A fighting game for the PSP, this game is supposed to come out somewhere around September 18th and it looks pretty awesome. I'm a Katekyoo Hitman Reborn fan and watched all the episodes up to now and can't wait to play this 2d fighting game for the psp. Watch the trailer below.

Tagged with: ,

Red Alert 3 beta is now open to everyone!

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 4 out of 5)
Loading ... Loading ...
878 views

If you happen to be a Red Alert fan just like me then this is the news that you have been waiting for all day ;) Red Alert 3 beta is open for everyone! Yup, you can get the beta key here

I wish you all a happy gaming time and see you online @ the Red Alert 3 beta server! My ingame name is ArkieParkie

ps: the red alert 3 beta keys are still limited and if you couldn't get your key in time I have a few keys available if you need one. Just let me know why you should be getting one from me and i'll randomly pick a few winners in a week or so.

Recommended Specifications:
Operating System - Windows XP or Windows Vista (32-bit)
CPU - Multiple cores or Hyper-threading
Graphics Card – NVIDIA GeForce 6800 or higher, ATI Radeon X1800 or higher
RAM – 1 GB
Sound Card – DirectX 9.0c compatible


Edited out my key but you can get your own!

[Update]
Due to populair demand i'll extend the offer for a few extra weeks to give everyone a fair chance, I have 4 keys left to give away so tell me why you should get a key from me.

Tagged with: , , , , , , , ,

Watch the olympics live behind your computer

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
733 views

I've been watching the olympics in Beijing since August 6 on a live stream at NOS and for those that want to watch the olympics behind their computer they should tune in here , there are 12 live channels to choose from and the quality is decent/good. To play the live stream you must have either windows media player or silverlight.

I've made a screenshot about how the stream looks like

larger image here

You can also download the OS2008player here and watch two streams at the same time with 12 live channels to choose from, awesome!

Screenshot of the OS2008player

Tagged with: ,

Negative comments on youtube, I don’t care

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
67 views

Youtube members that upload videos hope to get positive comments but what if they only get negative comments most of the time?

Well, here's a girl that has experience with negative comments and for some reason unknown I think it's actually an entertaining video about a girl ranting about comments on youtube. Girl power..?

Uswaretech web development

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
67 views

If you are looking for a reliable web application studio you need to take a look at Uswaretech, they are a web application development studio that develops web applications using tools such as DJango web development and Jquery.

To be honest, I don't have any personal experience with the company but by looking at one of their products here you can’t argue that they aren’t professional and know what they are doing.

Dashbard is a wiki based project management application. Which includes milestone tracking, task tracking, wiki, file storage etc all built in. It tracks and logs all changes to the project data, and allows you to travel back in time to see how your project looked on a past date, and tries to bring wiki type trust system to project management.

The screenshot of Dashboard looks pretty nice and that is just one of their products they are showing on their site.

The bottom line is that if you are looking for a competent and reliable web application studio that can develop your software on time, on budget and as well as secure and scalable Uswaretech is a development studio you can't ignore.

Creating a Simple Servlet Using IRAD

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
63 views

This free, multimedia tutorial shows you how to use IBM's Rational Application Developer (IRAD) to create a J2EE project, a Servlet, and a WebSphere Test Server on which you can proudly run your newly birthed Servlet.

If you found something helpful here, please do your part and help support the site. Link to us, buy some books, support our sponsors, tell your developer friends about us, and remember: Happy Java!


Read the rest of this entry →

Tagged with: , , , ,

White man can jump!?

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
40 views

Tagged with:

Megaman 9 robot masters!

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
157 views

These are the eight robot masters featured in Megaman 9

Magma Man
Galaxy Man
Jewel Man
Concrete Man
Hornet Man
Plug Man
Tornado Man
Splash Woman

Splash Woman will be the first female boss robot ever in a mega man game and it sounds that she will splash you with.. uh, water?

Currently there are three megaman 9 boss images available that i found at IGN and i'll update it when they release more of these boss images. (Concrete man looks (sexy)

Magma Man

Read the rest of this entry →

Tagged with:

Nyan Nyan Nyan Nyan, bla bla deculture

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
52 views


This song will get stuck in your head for a long time. :(

Tagged with: