Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » ClassNotFoundException
ClassNotFoundException [message #882817] Thu, 07 June 2012 09:04 Go to next message
Jonathan Camilleri is currently offline Jonathan CamilleriFriend
Messages: 91
Registered: July 2009
Member
package code;

import static java.lang.Math.pow;
import java.util.*;
class LoopIt
{
public static void main (String[] args)
{
ArrayList<Double> e = new ArrayList<Double> ();
int c = 900;
for (int i = 0; i <=100; i++)
{
if (c == 1000) break;
double x = Double.parseDouble(Integer.toString(c));
double exponent = Double.parseDouble(Integer.toString(c));
double result = pow(x, exponent);
e.add(i, new Double(result));
c++;
}

int j = 0;
for (Double i : e)
{
double a = e.get(j);
System.out.println(a);
j++;
}
}
}

  • Attachment: LoopIt.rar
    (Size: 1.49KB, Downloaded 132 times)
Re: ClassNotFoundException [message #882864 is a reply to message #882817] Thu, 07 June 2012 10:48 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Please don't post the same problem again!
The mostly likely cause has already been identified by Nitin Dahyabhai in response to your previous post.
If you want to get helped you also have to do your homework:
Please fix your setup and ask again only if the problem persists and if you can provide more information that would help identify what's wrong.

Stephan
Previous Topic:Re: Using JUnit @Rule with Eclipse's test runner
Next Topic:Quick fix and Generate getters/setters are inconsistent
Goto Forum:
  


Current Time: Wed Apr 24 19:02:47 GMT 2024

Powered by FUDForum. Page generated in 0.03166 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top