Archive

Posts Tagged ‘Open Source’

Execute external process from within JVM using Apache Commons Exec library

Executing external command from within JVM often causes problems- be it in terms of the code to write and manage or in the ease of implementation. I had similar requirement in my Major project for my Under Graduate Degree, where in I had to launch a C program from the Java code. I ran into different issues like- the Main thread getting blocked, the GUI freezing, or reading the output streams and so on. Finally I had to give up the idea and stick with launching the external command externally 😛 Had I found the Exec library from Apache Commons then, my work would have been lot easier. Anyways better late then never. I will quickly go through how one can use Exec library to launch external programs from JVM- Its a wrapper over Java’s ProcessBuilder, Runtime.getRuntime().exe(). Read more…

Interested in Open Source Java Projects?

As i was going through Amit Kumar Saha’s blog at Blogspot, I found a post on “Participating in Open source Java Projects“. Actually sometime back i had asked Ashwin on what i can probably do using Java and he had mentioned trying out java.net . But this post has whole lot of resources for contributing to java Projects. A really detailed post, must read for Java programmers is what i say, especially those interested in Open Source Java Projects.

Read more…

Java vs.NET – Articles by Bruce Eckel

There are two articles by Bruce Eckel in which he has spoken in brief about C# / .NET and Java. These two are pretty old articles but i feel they are worth reading once, pretty small write ups. Bruce Eckel is the author of famous Thinking in sreis- Thinking in C++ and Thinking in Java.

Article 1- Java vs. .NET

Article 2- C#, Java and Joshua Bloch

Note: The articles are pretty old, written some 5 years back. Anyone with more interesting articles can share them as comments. I stumbled across these when i was going through Bruce Eckel’s Old and new Weblogs. They are a pretty interesting to read.

Categories: Articles Tags: , , , , ,