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
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));

int j = 0;
for (Double i : e)
double a = e.get(j);

  • Attachment: LoopIt.rar
    (Size: 1.49KB, Downloaded 97 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: 1602
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.

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: Fri Jun 22 04:02:16 GMT 2018

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

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

Back to the top