JAVA Compile Error - java.math - BigInteger

Write here if you have problems with your Java source code

Moderator: Board moderators

Post Reply
uzioriluzan
New poster
Posts: 27
Joined: Thu Feb 14, 2002 2:00 am

Post by uzioriluzan » Fri Feb 15, 2002 12:43 am

I was trying to submit two previously accepted problems, "Fibinary Numbers" (problem 763) and "Factorial Frequencies" (problem 324) without success.


This was the error message provided by the Online Judge:

00747121_24.java:4: Can't find default package `java.math'. Check the CLASSPATH environment variable and the access to the archives.
1 error


Is the java.math library disabled? Why did it work before?

If I remove the "import java.math.*;" line in my source code, it gives these errors:


00747112_24.java:23: Type `BigInteger' not found in the declaration of the local variable `um'.
BigInteger um = new BigInteger("1");
^
00747112_24.java:29: Type `BigInteger' not found in the declaration of the local variable `n'.
BigInteger n = new BigInteger(ln);
^
00747112_24.java:30: Type `BigInteger' not found in the declaration of the local variable `fat'.
BigInteger fat = um;
^
3 errors




Anyone could help?

Thanks in advance

Adrian Kuegel
Guru
Posts: 724
Joined: Wed Dec 19, 2001 2:00 am
Location: Germany

Post by Adrian Kuegel » Mon Feb 18, 2002 11:00 pm

I got the same error messages. It seems like they have disabled the java.math library (after the weekend - about one month ago -when they have updated the server this error occured).

Spike
New poster
Posts: 29
Joined: Mon Mar 18, 2002 2:00 am
Location: Washington State
Contact:

Post by Spike » Mon Mar 18, 2002 4:47 am

Yeah, I haven't gotten anything to work on UVA. They have bad java support. :sad:

Post Reply

Return to “Java”