Minimize Ja.NET Forums
 
  Ja.NET Forums  Ja.NET SE  Using  Eclipse Problem
Previous Previous
 
Next Next
New Post 8/25/2009 10:14 AM
  sleary
6 posts
No Ranking


Eclipse Problem 
Every time i try to use the JaNetSe compiler from within eclipse i get the following error. The type java.lang.Object cannot be resolved I'm on eclipse 3.4 and using the Java Builder. Googling i find that i am missing rt.jar which does not appear to exist in the janetset installation folder. What am i doing wrong? Stephen
 
New Post 8/26/2009 6:13 AM
  Dave
15 posts
No Ranking


Re: Eclipse Problem 

Hi Stephan,

The compiler that is integrated in Eclipse will generate only Java byte code for a Java VM. Eclipse will not use the Java compiler that is included in the JDK that you reference in Eclipse.

To use Eclipse with Janet SE, you will need to use an external Ant Build file. You can use the javac compiler that is included in Ja.NET SE to generate code for the .NET VM (it does this by default) . So you can also use the compiler to generate byte code for a Java VM by supplying the -java option.

Dave

 
New Post 8/26/2009 9:18 AM
  sleary
6 posts
No Ranking


Re: Eclipse Problem 

Thanks Dave,

I personally dislike Ant but i can use it for now. 

Stephen

 
Previous Previous
 
Next Next
  Ja.NET Forums  Ja.NET SE  Using  Eclipse Problem
Syndicate  
Minimize Ja.NET SE Survey

What open source Java implementation should Ja.NET SE be based on?






Submit Survey 
Minimize Provide Feedback

 





Enter the code shown above in the box below
Send