Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 11 of 11

Thread: Complete beginner to Java, problem with error message "non-static variable..."

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Complete beginner to Java, problem with error message "non-static variable..."

    I'm working on a project for an intro to Java programming class and I've seen other posts about this problem but I don't understand the
    terminology of the explanations. This is more than just a hurtle I need to pass to get this program finished, I really want to understand what is going on. What I have for the program is copy and pasted in full and I apologize in advance for whatever errors I may have made.

    Thanks in advance for your help!

    import java.util.*;
     
    import java.lang.*;
     
    import java.io.*;
     
     
     
    class GemsCFW
     
    {
     
        //static MinerCFW Miner1;
     
    	//static MinerCFW Miner2;
     
    	//static MinerCFW Miner3;
     
     
    public static void main (String[] args) throws Exception
    {
     
    	MinerCFW Miner1, Miner2, Miner3;
     
    	String Name, M1, M2, M3;
     
    	File test = new File("test.txt");
     
    	Scanner reader = new Scanner(test);
     
    	//System.out.println(reader.next());
     
    	//String Miner1;
     
    	//String Miner2;
     
    	//String Miner3;
     
    	int r, z, i, t, x, y, b;
     
    	int r1, r2, r3, s1, s2, s3, e1, e2, e3, g1, g2, g3;
     
    	z = 0;
     
    	double Percent1, Percent2, Percent3;
     
    	//Scanner input = new Scanner(System.in);
     
    	MinerCFW Miner1 = new MinerCFW();
     
    	MinerCFW Miner2 = new MinerCFW();
     
    	MinerCFW Miner3 = new MinerCFW();
     
     
    	M1 = reader.next(); //	M1 =	reader.next(); //reset all reader to input
     
    	M2 = reader.next();
     
    	M3 = reader.next();
     
    	Miner1.setName(M1);
     
    	Miner2.setName(M2);
     
    	Miner3.setName(M3);
     
    	for (int count=1; count <= 3; count++)
     
    	{
     
    		r = reader.nextInt();
     
    		z = Miner1.getRubies();
     
     
    		{
     
    		i = (z + r);
     
    		Miner1.setRubies(i);
     
    		r = reader.nextInt();
     
    		z = Miner2.getRubies();
     
     
    		i = (z + r);
     
    		Miner2.setRubies(i);
     
    		r = reader.nextInt();
     
    		z = Miner3.getRubies();
     
     
    		i = (z + r);
     
    		Miner3.setRubies(i);
     
    		r = reader.nextInt();
     
    		z = Miner1.getSapphires();
     
     
    		i = (z + r);
     
    		Miner1.setSapphires(i);
     
    		r = reader.nextInt();
     
    		z = Miner2.getSapphires();
     
     
    		i = (z + r);
     
    		Miner2.setSapphires(i);
     
    		r = reader.nextInt();
     
    		z = Miner3.getSapphires();
     
     
    		i = (z + r);
     
    		Miner3.setSapphires(i);
     
    		r = reader.nextInt();
     
    		z = Miner1.getEmeralds();
     
    		i = (z + r);
     
     
    		Miner1.setEmeralds(i);
     
    		r = reader.nextInt();
     
    		z = Miner2.getEmeralds();
     
    		i = (z + r);
     
     
    		Miner2.setEmeralds(i);
     
    		r = reader.nextInt();
     
    		z = Miner3.getEmeralds();
     
    		Miner3.setEmeralds(i);
     
     
    		i = (z + r);
     
    		}
     
     
    		r1 = Miner1.getRubies();
     
    		r2 = Miner2.getRubies();
     
    		r3 = Miner3.getRubies();
     
    		s1 = Miner1.getSapphires();
     
    		s2 = Miner2.getSapphires();
     
    		s3 = Miner3.getSapphires();
     
    		e1 = Miner1.getEmeralds();
     
    		e2 = Miner2.getEmeralds();
     
    		e3 = Miner3.getEmeralds();
     
     
    		g1 = r1+s1+e1;
     
    		g2 = r2+s2+e2;
     
    		g3 = r3+s3+e3;
     
     
     
    		Miner1.setTotal(g1);
     
    		Miner2.setTotal(g2);
     
    		Miner3.setTotal(g3);
     
     
    		x = Miner1.getTotal();
     
    		y = Miner2.getTotal();
     
    		b = Miner3.getTotal();
     
    		t = x+y+z;
     
    		Percent1 = x/t;
     
    		Percent2 = y/t;
     
    		Percent3 = z/t;
     
     
     
    		System.out.print(r1);
     
    		System.out.print(s1);
     
    		System.out.print(e1);
     
    		System.out.print(x);
     
    		System.out.println(Percent1);
     
     
    		System.out.print(r2);
     
    		System.out.print(s2);
     
    		System.out.print(e2);
     
    		System.out.print(y);
     
    		System.out.println(Percent2);
     
     
    		System.out.print(r3);
     
    		System.out.print(s3);
     
    		System.out.print(e3);
     
    		System.out.print(z);
     
    		System.out.println(Percent3);
     
     
    		System.out.print("The number of gems found in total is: " +t);
     
    	}
     
     
    }
     
     
     
     
     
    class MinerCFW
     
    	{
     
    	private String Name;
     
    	private int Rubies, Sapphires, Emeralds, Total, r, s, e;
     
     
    	public MinerCFW () //had static before void
     
    		{ 
     
    		  // Rubies = 0;		
    		  // Sapphires = 0;
    		  // Emeralds = 0;
    		  // Name = who;
     
    		}
     
    	//<<setter methods for ALL the variables 
    	public void setRubies (int Rubies1) 
     
    		{
     
    			Rubies = Rubies1;
     
    		}
     
    	public void setSapphires (int Sapphires1)
     
    		{
     
    			Sapphires = Sapphires1;
     
    		}
     
    	public void setEmeralds (int Emeralds1) 
     
    		{
     
    			Emeralds = Emeralds1;
     
    		}
     
    	public void setTotal (int Total1)
     
    		{
     
    			Total = Total1;
     
    		}
     
    	public void setName(String who) 
     
    		{
     
    			Name = who;
     
    		}
     
    	 //getter for name
    	public String getName(String Name) 
     
    		{
     
    			return Name;
     
    		}
     
    	//<<getter methods for all the variables 
    	public int getRubies () 
     
    		{
     
    			return Rubies;
     
    		}
     
    	public int getSapphires () 
     
    		{
     
    			return Sapphires;
     
    		}
     
    	public int getEmeralds () 
     
    		{
     
    			return Emeralds;
     
    		}
    	public int getTotal()
     
    		{
     
    			return Total;
     
    		}
     
     
    	}
     
    }
    Last edited by JavaPF; October 25th, 2011 at 04:21 AM. Reason: Added highlight tags


  2. #2
    Member
    Join Date
    Oct 2011
    Posts
    114
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Complete beginner to Java, problem with error message "non-static variable..."

    Could you put your code inside code tags mate? It makes it much more readable and much easier to see whats going on.

    Could you also copy and paste the exact error you're getting ?

  3. #3
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: Complete beginner to Java, problem with error message "non-static variable..."

    I did not bother to read the gazillion lines of code.

    Imagine I have a Person class. Each person has a name. I then create 1000 Person objects. Next I say print name. Which name should it print? However if I say print obj1.name the JVM knows exactly which name to print.

    In the above example name would be an instance variable in the Person class. This means that each instance of the class (ie each object) has its own instance of the name variable. Static means it belongs to the class and not an individual object. That means that all objects share the variable. It also means that you can access the variable without create an object at all. The pi variable in the Math class is an example: Math.PI is valid syntax.
    Improving the world one idiot at a time!

  4. #4
    Junior Member
    Join Date
    Oct 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Complete beginner to Java, problem with error message "non-static variable..."

    Sorry about that. Thank you for responding. Below I have the the error I received as well as the program wrapped within code markers.



    C:\Users\Christopher\Desktop\Programming>javac GemsCFW.java
    GemsCFW.java:55: error: non-static variable this cannot be referenced from a sta
    tic context
    MinerCFW Miner1 = new MinerCFW();
    ^
    GemsCFW.java:57: error: non-static variable this cannot be referenced from a sta
    tic context
    MinerCFW Miner2 = new MinerCFW();
    ^
    GemsCFW.java:59: error: non-static variable this cannot be referenced from a sta
    tic context
    MinerCFW Miner3 = new MinerCFW(0);
    ^
    3 errors

    C:\Users\Christopher\Desktop\Programming>

    import java.util.*;
     
    import java.lang.*;
     
    import java.io.*;
     
     
     
    class GemsCFW
     
    {
     
        //static MinerCFW Miner1;
     
    	//static MinerCFW Miner2;
     
    	//static MinerCFW Miner3;
     
     
    public static void main (String[] args) throws Exception
    {
     
    	//MinerCFW Miner1, Miner2, Miner3;
     
    	String Name, M1, M2, M3;
     
    	File test = new File("test.txt");
     
    	Scanner reader = new Scanner(test);
     
    	//System.out.println(reader.next());
     
    	//String Miner1;
     
    	//String Miner2;
     
    	//String Miner3;
     
    	int r, z, i, t, x, y, b;
     
    	int r1, r2, r3, s1, s2, s3, e1, e2, e3, g1, g2, g3;
     
    	z = 0;
     
    	double Percent1, Percent2, Percent3;
     
    	//Scanner input = new Scanner(System.in);
     
    	MinerCFW Miner1 = new MinerCFW();
     
    	MinerCFW Miner2 = new MinerCFW();
     
    	MinerCFW Miner3 = new MinerCFW(0);
     
     
    	M1 = reader.next(); //	M1 =	reader.next(); //reset all reader to input
     
    	M2 = reader.next();
     
    	M3 = reader.next();
     
    	Miner1.setName(M1);
     
    	Miner2.setName(M2);
     
    	Miner3.setName(M3);
     
    	for (int count=1; count <= 3; count++)
     
    	{
     
    		r = reader.nextInt();
     
    		z = Miner1.getRubies();
     
     
    		{
     
    		i = (z + r);
     
    		Miner1.setRubies(i);
     
    		r = reader.nextInt();
     
    		z = Miner2.getRubies();
     
     
    		i = (z + r);
     
    		Miner2.setRubies(i);
     
    		r = reader.nextInt();
     
    		z = Miner3.getRubies();
     
     
    		i = (z + r);
     
    		Miner3.setRubies(i);
     
    		r = reader.nextInt();
     
    		z = Miner1.getSapphires();
     
     
    		i = (z + r);
     
    		Miner1.setSapphires(i);
     
    		r = reader.nextInt();
     
    		z = Miner2.getSapphires();
     
     
    		i = (z + r);
     
    		Miner2.setSapphires(i);
     
    		r = reader.nextInt();
     
    		z = Miner3.getSapphires();
     
     
    		i = (z + r);
     
    		Miner3.setSapphires(i);
     
    		r = reader.nextInt();
     
    		z = Miner1.getEmeralds();
     
    		i = (z + r);
     
     
    		Miner1.setEmeralds(i);
     
    		r = reader.nextInt();
     
    		z = Miner2.getEmeralds();
     
    		i = (z + r);
     
     
    		Miner2.setEmeralds(i);
     
    		r = reader.nextInt();
     
    		z = Miner3.getEmeralds();
     
    		Miner3.setEmeralds(i);
     
     
    		i = (z + r);
     
    		}
     
     
    		r1 = Miner1.getRubies();
     
    		r2 = Miner2.getRubies();
     
    		r3 = Miner3.getRubies();
     
    		s1 = Miner1.getSapphires();
     
    		s2 = Miner2.getSapphires();
     
    		s3 = Miner3.getSapphires();
     
    		e1 = Miner1.getEmeralds();
     
    		e2 = Miner2.getEmeralds();
     
    		e3 = Miner3.getEmeralds();
     
     
    		g1 = r1+s1+e1;
     
    		g2 = r2+s2+e2;
     
    		g3 = r3+s3+e3;
     
     
     
    		Miner1.setTotal(g1);
     
    		Miner2.setTotal(g2);
     
    		Miner3.setTotal(g3);
     
     
    		x = Miner1.getTotal();
     
    		y = Miner2.getTotal();
     
    		b = Miner3.getTotal();
     
    		t = x+y+z;
     
    		Percent1 = x/t;
     
    		Percent2 = y/t;
     
    		Percent3 = z/t;
     
     
     
    		System.out.print(r1);
     
    		System.out.print(s1);
     
    		System.out.print(e1);
     
    		System.out.print(x);
     
    		System.out.println(Percent1);
     
     
    		System.out.print(r2);
     
    		System.out.print(s2);
     
    		System.out.print(e2);
     
    		System.out.print(y);
     
    		System.out.println(Percent2);
     
     
    		System.out.print(r3);
     
    		System.out.print(s3);
     
    		System.out.print(e3);
     
    		System.out.print(z);
     
    		System.out.println(Percent3);
     
     
    		System.out.print("The number of gems found in total is: " +t);
     
    	}
     
     
    }
     
     
     
    class MinerCFW
     
    	{
     
    	private String Name;
     
    	private int Rubies, Sapphires, Emeralds, Total, r, s, e;
     
     
    	public MinerCFW () //had static before void
     
    		{ 
     
    		  // Rubies = 0;		
    		  // Sapphires = 0;
    		  // Emeralds = 0;
    		  // Name = who;
     
    		}
     
    	//<<setter methods for ALL the variables 
    	public void setRubies (int Rubies1) 
     
    		{
     
    			Rubies = Rubies1;
     
    		}
     
    	public void setSapphires (int Sapphires1)
     
    		{
     
    			Sapphires = Sapphires1;
     
    		}
     
    	public void setEmeralds (int Emeralds1) 
     
    		{
     
    			Emeralds = Emeralds1;
     
    		}
     
    	public void setTotal (int Total1)
     
    		{
     
    			Total = Total1;
     
    		}
     
    	public void setName(String who) 
     
    		{
     
    			Name = who;
     
    		}
     
    	 //getter for name
    	public String getName(String Name) 
     
    		{
     
    			return Name;
     
    		}
     
    	//<<getter methods for all the variables 
    	public int getRubies () 
     
    		{
     
    			return Rubies;
     
    		}
     
    	public int getSapphires () 
     
    		{
     
    			return Sapphires;
     
    		}
     
    	public int getEmeralds () 
     
    		{
     
    			return Emeralds;
     
    		}
    	public int getTotal()
     
    		{
     
    			return Total;
     
    		}
     
     
    	}
     
     
     
     
    }

  5. #5
    Junior Member
    Join Date
    Oct 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Complete beginner to Java, problem with error message "non-static variable..."

    I apologize that it is so long, since I didn't know what lines were relevant I didn't know what to omit. Thank you for your response and your explanation. Although I didn't understand some of it I appreciate the help.

    If I think I understood you correctly, for each instance of the miner class I created a different identifier (miner1, miner2, ect..). It also sometimes tells me that miner1, miner2, ect.. "might need to be initialized" despite the fact that I created the objects.
    Last edited by Ryoga227; October 24th, 2011 at 08:41 PM.

  6. #6
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: Complete beginner to Java, problem with error message "non-static variable..."

    @Ryoga: I will recommend you to read this!!!

  7. #7
    Junior Member
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Re: Complete beginner to Java, problem with error message "non-static variable..."

    there is a rule in java, you can not access non static variables inside a static method. check out your code and either use a non static variable or make the variable static which you are using. It will solve your problem.
    for better coding wat i will suggest you is put the whole logic in a separate method and call tht method from main(). Remember as you variables miner1,2 and 3 are not static dont make new method as static.
    Last edited by Shantanu Gontia; October 25th, 2011 at 02:42 AM.

  8. #8
    Junior Member
    Join Date
    Oct 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Complete beginner to Java, problem with error message "non-static variable..."

    Thank you so much! I think I may have solved the problem. It now complies. I now have an

    Exception in thread "main" java.lang.NullPointerException t GemsCFW.main(GemsCFW.java:66)
    error message when I try to run it. The link to the Java Boutique is
    exactly what I need for this class and I'm reading it now. Thanks again so much, I really appreciate it.

    The code is now

    import java.util.*;
     
    import java.lang.*;
     
    import java.io.*;
     
     
     
    class GemsCFW
     
    {
     
        //
    	static MinerCFW Miner1;
     
    	//
    	static MinerCFW Miner2;
     
    	//
    	static MinerCFW Miner3;
     
     
    public static void main (String[] args) throws Exception
    {
     
    	//MinerCFW Miner1, Miner2, Miner3;
     
    	String Name, M1, M2, M3;
     
     
    	//File test = new File("test.txt");
     
    	Scanner input = new Scanner(System.in);
     
    	//System.out.println(input.next());
     
    	int r, z, i, t, x, y, b;
     
    	int r1, r2, r3, s1, s2, s3, e1, e2, e3, g1, g2, g3;
     
    	z = 0;
     
    	double Percent1, Percent2, Percent3;
     
    	//Scanner input = new Scanner(System.in);
     
    	//MinerCFW Miner1 = new MinerCFW();
     
    	//MinerCFW Miner2 = new MinerCFW();
     
    	//MinerCFW Miner3 = new MinerCFW();
     
     
    	M1 = input.next(); 
     
    	M2 = input.next();
     
    	M3 = input.next();
     
    	Miner1.setName(M1);
     
    	Miner2.setName(M2);
     
    	Miner3.setName(M3);
     
    	for (int count=1; count <= 3; count++)
     
    	{
     
    		r = input.nextInt();
     
    		z = Miner1.getRubies();
     
     
    		{
     
    		i = (z + r);
     
    		Miner1.setRubies(i);
     
    		r = input.nextInt();
     
    		z = Miner2.getRubies();
     
     
    		i = (z + r);
     
    		Miner2.setRubies(i);
     
    		r = input.nextInt();
     
    		z = Miner3.getRubies();
     
     
    		i = (z + r);
     
    		Miner3.setRubies(i);
     
    		r = input.nextInt();
     
    		z = Miner1.getSapphires();
     
     
    		i = (z + r);
     
    		Miner1.setSapphires(i);
     
    		r = input.nextInt();
     
    		z = Miner2.getSapphires();
     
     
    		i = (z + r);
     
    		Miner2.setSapphires(i);
     
    		r = input.nextInt();
     
    		z = Miner3.getSapphires();
     
     
    		i = (z + r);
     
    		Miner3.setSapphires(i);
     
    		r = input.nextInt();
     
    		z = Miner1.getEmeralds();
     
    		i = (z + r);
     
     
    		Miner1.setEmeralds(i);
     
    		r = input.nextInt();
     
    		z = Miner2.getEmeralds();
     
    		i = (z + r);
     
     
    		Miner2.setEmeralds(i);
     
    		r = input.nextInt();
     
    		z = Miner3.getEmeralds();
     
    		Miner3.setEmeralds(i);
     
     
    		i = (z + r);
     
    		}
     
     
    		r1 = Miner1.getRubies();
     
    		r2 = Miner2.getRubies();
     
    		r3 = Miner3.getRubies();
     
    		s1 = Miner1.getSapphires();
     
    		s2 = Miner2.getSapphires();
     
    		s3 = Miner3.getSapphires();
     
    		e1 = Miner1.getEmeralds();
     
    		e2 = Miner2.getEmeralds();
     
    		e3 = Miner3.getEmeralds();
     
     
    		g1 = r1+s1+e1;
     
    		g2 = r2+s2+e2;
     
    		g3 = r3+s3+e3;
     
     
     
    		Miner1.setTotal(g1);
     
    		Miner2.setTotal(g2);
     
    		Miner3.setTotal(g3);
     
     
    		x = Miner1.getTotal();
     
    		y = Miner2.getTotal();
     
    		b = Miner3.getTotal();
     
    		t = x+y+z;
     
    		Percent1 = x/t;
     
    		Percent2 = y/t;
     
    		Percent3 = z/t;
     
     
     
    		System.out.print(r1);
     
    		System.out.print(s1);
     
    		System.out.print(e1);
     
    		System.out.print(x);
     
    		System.out.println(Percent1);
     
     
    		System.out.print(r2);
     
    		System.out.print(s2);
     
    		System.out.print(e2);
     
    		System.out.print(y);
     
    		System.out.println(Percent2);
     
     
    		System.out.print(r3);
     
    		System.out.print(s3);
     
    		System.out.print(e3);
     
    		System.out.print(z);
     
    		System.out.println(Percent3);
     
     
    		System.out.print("The number of gems found in total is: " +t);
     
    	}
     
     
    }
     
    class MinerCFW
     
    	{
     
    	private String Name, who, what;
     
    	private int Rubies, Sapphires, Emeralds, Total, r, s, e;
     
     
    	public MinerCFW () //had static before void
     
    		{ 
     
    		  // Rubies = 0;		
    		  // Sapphires = 0;
    		  // Emeralds = 0;
    		Name = what;
     
    		}
     
    	//<<setter methods for ALL the variables 
    	public void setRubies (int Rubies1) 
     
    		{
     
    			Rubies = Rubies1;
     
    		}
     
    	public void setSapphires (int Sapphires1)
     
    		{
     
    			Sapphires = Sapphires1;
     
    		}
     
    	public void setEmeralds (int Emeralds1) 
     
    		{
     
    			Emeralds = Emeralds1;
     
    		}
     
    	public void setTotal (int Total1)
     
    		{
     
    			Total = Total1;
     
    		}
     
    	public void setName(String who) 
     
    		{
     
    			Name = who;
     
    		}
     
    	 //getter for name
    	public String getName(String Name) 
     
    		{
     
    			return Name;
     
    		}
     
    	//<<getter methods for all the variables 
    	public int getRubies () 
     
    		{
     
    			return Rubies;
     
    		}
     
    	public int getSapphires () 
     
    		{
     
    			return Sapphires;
     
    		}
     
    	public int getEmeralds () 
     
    		{
     
    			return Emeralds;
     
    		}
    	public int getTotal()
     
    		{
     
    			return Total;
     
    		}
     
     
    	}
     
     
     
     
    }
    Last edited by Ryoga227; October 25th, 2011 at 05:31 AM.

  9. #9
    Junior Member
    Join Date
    Oct 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Complete beginner to Java, problem with error message "non-static variable..."

    It may have just not given me the non-static error message because I took out the

    //MinerCFW Miner1 = new MinerCFW();
    and I think I need that to set up the objects which is why I'm probably getting the null pointer exception

  10. #10
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: Complete beginner to Java, problem with error message "non-static variable..."

    @Ryoga: Don't throw the exceptions in main(). Catch them. That's the actual problem that resulting in the null pointer exception for your main().
    I am talking about this code.
    public static void main (String[] args) throws Exception

  11. #11
    Junior Member
    Join Date
    Oct 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Complete beginner to Java, problem with error message "non-static variable..."

    Yay!!! I finally figured out what the problem was. Apparently I had the class I was creating at the bottom of the program in main and therefore it was static. I hope that this post can be a help to others.

    And once again, thank you so much everyone who posted and offered advice.

Similar Threads

  1. Replies: 4
    Last Post: October 20th, 2011, 11:26 AM
  2. Replies: 7
    Last Post: August 13th, 2011, 01:22 AM
  3. Replies: 6
    Last Post: November 12th, 2010, 04:40 AM
  4. Replies: 1
    Last Post: January 15th, 2010, 01:32 AM
  5. "java.lang.NoSuchMethodError: main" and "fatal exception occured."
    By joachim89 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 10th, 2010, 08:35 AM

Tags for this Thread