pavan krishnamurthy wrote:
> Hi,
> I was trying to install dspace. When i try to do ant fresh_install; i
> get so many warnings plus two errors saying
>
> 1)The import sun.misc cannot be resolved
> 2)BASE64Encoder cannot be resolved to a type
>   

The sun.* packages are part of the Sun JDK. They shouldn't really be 
used directly, but currently they are.

I could point you to a way to not have that dependency, but it would 
ultimately be a rather futile gesture. Because if you are getting this 
as an error (and not a warning), then it means you aren't using and Sun 
JDK - and that most likely means that you are using the GNU Java 
compiler. And that just isn't going to work.

So the simple answer is install and use a Sun JDK. Which flavour OS are 
you using? rpm-based distros are readily provided for by Sun, and 
deb-based distros more than likely have the JDK available in the 
repository (for Debian itself, it's in the non-free repo).

G

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to