Go to Post I believe that those who have a clear understanding of their capabilities, both physical and financial, and design and build within those capabilities are the teams that succeed. - Daniel_LaFleur [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-01-2013, 20:03
Chris Heung Chris Heung is offline
Registered User
FRC #3992
 
Join Date: Jan 2013
Location: Florida
Posts: 3
Chris Heung is an unknown quantity at this point
Cannot access MIDlet

This is the second year that I am the lead programmer for my team. I have used Java last year as well with no such problem as I am about to describe.

I followed the basic tutorials and got the wpilibj.jar classpath and all the FRC plugins downloaded. I am running Netbeans 7.2.1 and JDK 1.7 on my code.

I created a blank file and tried to compile it and was given the error:

error: cannot access MIDlet
public class Main extends Iterative Robot
class file for javax.microedition.midlet.MIDlet not found
1 error

(insert ide-file-targets xml path): Compile failed; see the compiler error output for details.
BUILD FAILED


Code reference (not much to look at):

Code:
package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.*;

public class Main extends IterativeRobot //error refers to this line
{

}
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi