Java Studio Creator 2 Early Access is available for freeJuly 11th, 2005 I have found Java Studio Creator to be very useful and worthwhile for JSF based development. Join the Java Studio Creator 2 Early Access program and download the new IDE for FREE through October 2005.
Using Assertions in Java TechnologyJuly 18th, 2005 You can use assertions to detect errors that may otherwise go unnoticed. Assertions contain Boolean expressions that define the correct state of your program at specific points in the program source code.
How To Solve Apache Ant java Task Execution ErrorsJuly 26th, 2006 I have seen myriad errors when executing java task. For example I have seen: javax.xml.parsers.FactoryConfigurationError?: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl? not found when executing the java task in jdk1.5.0
The problems with debugging the errors is that the commandline used by java task is not visible, even in verbose mode.
How to Compile Java Source within Java ProgramMarch 26th, 2009 This small trick will tell you how you can compile a java source file from another java file on the go. You do not need to run it on a different page and compile it there and then get back to this program.
Our Java User Group (CALJUG - Calcutta Java User Group) has been Selected as one of Top 50 JUG's WorldwideJune 16th, 2005 Angsuman Chakraborty,
It gives me great pleasure to announce that your Java User Group: Calcutta JUG (CALJUG) has been selected as one of Sun's Top 50 JUGs worldwide. Being recognized as one of Sun's Top 50 comes with benefits, such as:
- Invitations to special events and webcasts exclusively for the Top 50 JUGs
- Exclusive bi-yearly technology "tours" – next tour scheduled for August/September timeframe – more details to follow!
- Giveaways, including t-shirts, books, and CDs for your meetings (when available)
- Aaron Houston, JUG Program Coordinator
Not bad, eh?
You can subscribe to Caljug at http://groups.yahoo.com/group/caljug
The web site needs maintenance.
Dr. Richard Stallman is talking nonsense; A look into Java TrapMay 12th, 2005 Dr. Stallman in his article Free but shackled - Java Trap expresses his concern that Java developers may be unknowingly falling into an expensive trap. In his own words:
If you develop a Java program on Sun's Java platform, you are liable to use Sun-only features without even noticing.
An all time dumb question: [On programming languages]May 8th, 2005 An all time dumb question:
Person A. Duh... in what language should we program?
Person B.
Sun Java Programmer Certification - Free BookMay 6th, 2006 This book provides a basis for revising for the Sun Certified Programmer examinations, not to teach the Java language or the topics required for the exam. It is designed to collect all the essential information you need to retain, in one place, and is designed for someone who has already finished their own study and is about to take the exam.
Good article on understanding java.lang.ThreadLocalApril 24th, 2005 ThreadLocal allows you to have copy of variable per thread, which are subject to garbage collection when the thread goes away. IBM has an excellent article on understanding and using ThreadLocal.
Java Continues As Leading Programming LanguageJune 6th, 2006 Java continues as the leading programming language according to TIOBE index updated on June 2006. Java is rated at 21.128%, an increase of 2.56% from June, 2005.
How To Speedup Java Over 100%August 26th, 2007 Java is used either for long running server side applications / application servers or for running short scripts. Let's look at how you can speed-up both these type of applications.
How To Handle Exceptions From Static Code Block in JavaJuly 6th, 2006 Exception can be handled when thrown in a method by either passing through the Exception or handling it. However in a static code block how can you handle checked exceptions meaningfully?
Normally static blocks are used to execute a code only once globally (for all instances of the class).
Sun To Acquire SeeBeyond, Application Integration and Business Process Management (BPM software) VendorJuly 22nd, 2005 Merger Execution Is The Main Risk Factor
How to force any Java program to use HTTP proxyApril 14th, 2009 You can either specify it on command line or within program code by setting three system properties as below:
proxyHost=proxy_host_name
proxyPort=proxy_port
proxySet=true
For example if a proxy is running on localhost at port 8080 then we can use:
java -DproxyHost=localhost -DproxyPort=8080 -DproxySet=true YourProgram
The same properties can be set within your Java program by System.getProperties().put(key, value);
That's it folks!
J2SE 5.0 Performance White PaperMay 14th, 2005 Sun published performance benchmark for JDK 5.0. It is around 3 times faster than 1.4.2 as per Specjbb2000, less spectacular in other benchmarks.
February 29th, 2004 at 10:04 pm
Runtime.exec() is not a command line!
You cannot do starts, redirections, etc.
Check this article:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
December 3rd, 2004 at 6:16 pm
You can invoke start if you prefix it with cmd.exe, essentially then cmd.exe is the command and the rest are parameters. However why would you need to do start?
> To run the Windows command interpreter, execute either command.com or cmd.exe, depending on the Windows operating system you use. Listing 4.5 runs a copy of the Windows command interpreter and then executes the user-supplied command (e.g., dir).
Yes, you can do re-directions using the same trick mentioned above.
Actually the url you supplied gives the above solutions too.
July 29th, 2007 at 11:00 am
hey thank u very much
i was searching how to run cmd.exe in a java program
u helped me a lot
once again thank u very much