Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> How Do I Test A Java Aplication
java-area
post Feb 4 2008, 03:37 AM
Post #11


Member [ Level 1 ]
Group Icon

Group: [HOSTED]
Posts: 47
Joined: 4-February 08
Member No.: 28,119



QUOTE(thaiddr @ Jun 25 2006, 12:36 AM) *
Well..can someone introduce me?(picture introduce is well)


Minimal requirements for testing standalone Java applications:
- install Java Virtual machine (jre or jdk) on your computer
- set "JAVA_HOME" environment variable
After that you can start your application.
The way of starting depends on how your application is packaged - java classes ("java app_name") or jar file ("java -jar app_name").

If the application has .bat file for starting, you can simply click on it.

Also there are many professional Java tools for testing/debugging -
for example, you can create JUnit test and run it on Eclipse... etc...

This post has been edited by java-area: Feb 4 2008, 03:46 AM
Go to the top of the page
 
+Quote Post
divinity
post Mar 3 2008, 10:14 PM
Post #12


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 9
Joined: 3-March 08
Member No.: 28,877



This is how i test/run my java applications:

1. I compile the file using javac, if you don't know what that is find a online java compiler.
2. I open up notepad and type java applicationnamehere (obviously change the applicationnamehere to your .class name)
3. Thats about it!
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. java.lang.NullPointException(4)
  2. Using system date in java... How?(5)
  3. Java Unlimited(14)
  4. Array Sorting(21)
  5. What Are The Advantages Of Java Vs C++?(15)
  6. Need Help: Find Lowest Character Using Java(7)
  7. Download Java Ebooks(15)
  8. Java By Example(8)
  9. Video Streaming In Web Browser Through Java Or Jsp(1)
  10. Looking For A Java IDE(25)
  11. On Why Java Is 'c'ooler!(10)
  12. Other Sound Format Support(3)
  13. Java Phone Book(2)
  14. How To Create Exe File In Java?(13)
  15. Mozilla And Java!(2)
  1. Need To Modify Xml Attribute Using Java(4)
  2. Bluetooth And Java(5)
  3. Java Sdk Vs. Java Jdk?(2)
  4. Graphcal User Interfaces In Java(4)
  5. Java Db Help Pls(2)
  6. Loading 3d Models In Java?(2)
  7. Java Applet Loading Error(5)
  8. Setting Up Java Correctly(8)
  9. Java Java.security.accesscontrolexception(6)
  10. Simple Java Question(3)
  11. Java And Sql: Data Mismatch(6)
  12. Java Memory Leak?(2)
  13. Java Mouse Movement.(2)


 



- Lo-Fi Version Time is now: 5th December 2008 - 08:33 AM