Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
j2sdk 1.5.0 demo features

 
Post new topic   Reply to topic Printable version
 View previous topic  Visual Basic Post :: Post MGB, your next avatar:  View next topic  
Author Message
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Mon Feb 16, 2004 9:23 pm   Post maybe stupid    Post subject: j2sdk 1.5.0 demo features Reply to topic Reply with quote

Maybe this is a stupid question, but my j2sdk 1.5.0 BETA doesn't like to compile any enumerations or generics. It gives me the old "identifier expected" or "interface or class expected" when i compile. Does the Beta not support the new features??? I have reinstalled (clean) to no avail.

Once again, i just feel as though i have missed something terribly obvious.

Code: Show/Hide
import java.util.*;

public class test{
   public test(){
      Vector<String> v = new Vector<String>();
   }
}


I just found the solution, and i suppose posting it might actually help someone out:

you must EXPLICITLY set the source versin to 1.5
IE:

>javac test.java -source 1.5

sorry for the shotgun post

_________________
Signatures just seem so quaint.




version.PNG - 20.33 KB
File downloaded or viewed 17 time(s)
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 36 page(s) served in previous 5 minutes.

phpBB Created this page in 0.944580 seconds : 28 queries executed (96.5%): GZIP compression disabled