NetBeans 3.6 and J2SE 5.0

I'm trying to get J2SE 5.0 to compile with NetBeans 3.6, but it just isn't working. I have the directory appropriately set up, but it doesn't want to accept the new features! What should I do?

To get rid of the red lines goto Tools->Options->Editing->Java Sources.
Under Java Sources set Error Annotation Limit to 0.
See http://www.netbeans.org/community/articles/tiger/36Tiger.html

Similar Messages

  • NetBeans 5.0 and Tomcat 4.1

    Hello,
    I'm using NetBeans 5.0 and I have been using the Bundled Tomcat version 5.5.9 for my servlet container and everything's been great. Now that I'm ready to push my application up to a web host, I found that my host (lunarpages) runs with Tomcat 4.1 which uses version 2.3 of the servlet container. Tomcat 5.5 uses servlet container 2.4.
    So I downloaded Tomcat 4.1 (which has 2.3) and I don't know how to properly tell Netbeans to use it. When I open Server Manager and select 'Add Server', I can't just tell NetBeans to point to my Tomcat 4.1 directory. It wants me to select from a dropdown list of servers and Tomcat 4.1 isn't in the list.
    I tried to fake NetBeans out by selecting the 'Tomcat 5' server and pointing to my Tomcat 4.1 directory but I'm getting the following message when I try to run:
    FAIL - Unknown command /deploy
    C:\workspace\myApp\nbproject\build-impl.xml:425: Deployment error:
    Can anyone point me in the right direction on how to get Tomcat 4.1 running with NetBeans 5.0?
    Thanks,
    Eric

    I found that my host (lunarpages) runs with Tomcat 4.1 which uses version 2.3 of the servlet containerPlease read the post before answering, the reasoning is crystal clear.
    I don't have a concrete answer to this problem, but I do have a suggestion.
    1) You can add your own tomcat server to netbeans. Under the runtime tab you will find servers, if you right click this you can add a server. Use this to manually configure your own server
    2) as for the servlet spec problem, when creating a web project setting the java EE version to 1.3 might solve the problem... I can't tell this for sure because I've never done it.

  • System error after installing 10.4.6 Update and J2SE 5.0 Release 4

    Hi,
    I just installed OS X 10.4.6 update and J2SE 5.o Release 4 and the system doesn't start any more. I get a black screen which says:
    [date] [my computer name] getty:/dev/console: Operation not supported by device
    Any suggestions?
    I will try to start from CD (when I am home later), but first I need to eject the DVD, which is still in the drive. How to do this when the system does not start?
    Thanks,
    Ulrike

    Hi Ulrike,
    I will try to start from CD (when I am home later),
    but first I need to eject the DVD, which is still in
    the drive. How to do this when the system does not
    start?
    All CD/DVD drives that come installed in a Mac should allow you to eject the CD/DVD tray. Check your owner's manual--the instructions on how to eject the tray are usually given there. For example, on some PowerBook models you had to gently insert a paper clip into one side of the loading slot and push. On the DVD drive in my PowerMac there is a small hole through which I can instert a paper clip.
    As for what is causing your problems, I don't know. From what I've gathered, however, installing the combo update (~140 megs) is more reliable than the incremental one (~60 megs). Booting from an external drive helps, too. You might try that.
    -Josh

  • Problem with Netbeans 7.1 and ME SDK 3.0.5 plugin

    Hi!
    I have problem plugin ME SDK 3.0.5 to Netbeans 7.1. When I try to install plugin into Netbeans I get this kind informations:
    Warning - could not install some modules: Profiler (Java ME Projects Support) - The module named org.netbeans.modules.profiler/1 was needed and not found. Java ME SDK CPU Profiler Snapshot Viewer - The module named org.netbeans.modules.profiler/1 was needed and not found. 5 further modules could not be installed due to the above problems.
    Does anyone know what is wrong?
    I am truly grateful for the answer!

    Hi Anvi,
    I think you posted in the right place as the J2ME SDK Team read this forum (though they sometimes don't respond promptly as we would have liked). I also got the same issue as you, but check out the responses by the J2ME SDK Team to: https://blogs.oracle.com/javamesdk/entry/update_java_me_sdk_through
    It seems there are issues with Netbeans 7.1, and they are fixing things for the next release for Netbeans 7.1.1 so I am sure they are aware of problems that we are encountering. Its fine for Netbeans 6.9/7 if you cannot wait though.

  • Confusion over J2SE and J2SE SDK

    Hi,
    I understand that J2SE (Java2 Platform, Standard Edition) is an abstract specification from Sun and J2SE SDK is Sun's implementation of J2SE platform.
    If Sun is releasing a new version of their J2SE platform, what are the things from the below list that can be changed and how.
    1. The Java Virtual Machine Specification
    2. Java API
    3. The Java Language Specification
    For example, I notice that for every new release, only the API version is changed where as the The Java Languge and JVM specifications remained the same since very long. Let us say that a new keyword is added, shouldn't the JVM spec and the Java Language Spec change??
    Where can I get the release notes of J2SE (not J2SE SDK)?
    Thanks,
    Suresh

    Hi ,
    U can get the release notes from
    http://java.sun.com/j2se/1.4/relnotes.html
    Hi,
    I understand that J2SE (Java2 Platform, Standard
    Edition) is an abstract specification from Sun and
    J2SE SDK is Sun's implementation of J2SE platform.
    If Sun is releasing a new version of their J2SE
    platform, what are the things from the below list that
    can be changed and how.
    1. The Java Virtual Machine Specification
    2. Java API
    3. The Java Language Specification
    For example, I notice that for every new release, only
    the API version is changed where as the The Java
    Languge and JVM specifications remained the same since
    very long. Let us say that a new keyword is added,
    shouldn't the JVM spec and the Java Language Spec
    change??
    Where can I get the release notes of J2SE (not J2SE
    SDK)?
    Thanks,
    Suresh

  • Troubleshooting Enterprise Beas, Netbeans 5.0 and Creator 2

    Hi Gurus. I am using Netbeans 5.0 to develop Enterprise Beans and Creator 2 to consume the beans, as a database I use Oracle 10g xe and Sun Application Server 8.2 as a App. Server (Not the one embedded in creator). I successfully created an enterprise bean with methods that create and get data in Netbeans 5.0 and also I am able to test them with a servlet without troubles. I consume the enterprise bean in creator, then I use it in a web page, after that I deployed into a remote server (8.2) all the application, but when I try to insert or get the data I get this Exception:
    com.sun.rave.web.ui.appbase.ApplicationException: #{Ventas$Clientes.buttonNuevo_action}: javax.faces.el.EvaluationException: java.lang.RuntimeException: RemoteException occurred in server thread; nested exception is:
         java.rmi.RemoteException
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:302)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    Am I doing something wrong in creator? did I miss a step configuring the bean? I followed the instructions in all the tutorials available to add and use Enterprise Beans. if I am able to use a enterprise bean in Netbeans 5.0 to insert and obtain data, Why I am not able to use it in Creator? I believe that I am so close to get the things working but that last step is killing me. I will appreciate any help. Thanks. (Sorry about grammar!!!!)

    Thanks for your help man. That was a very good advice. I rebuild everything in the application server bundled in creator, debugged and the the real problem appeared. I didn't take care about the size of data that I was willing to store in the jsp page. I was using toString() method to get the data from the text fields and after debugging I figured out is needed getText().toString() to get data form the fields, everything was out bout bounds. Now the application works fine. You save my life!!! How do I assign you the Duke dollars?
    Message was edited by:
    Patricio

  • Netbeans 6.0 and RichFaces

    Hi:
    Is it possible to use AJAX RichFaces library to NETBEANS 6.0
    and develop a visual JSF application?
    Thanks

    Hey,
    i will suggest using eclipse europa + Jboss ools plugin which has exadel support. Exadel provides support for develping visual applications using JSF + RichFaces.
    Try it!!!.
    In Netbeans you can only import the RichFaces libraries but till this point i didn't heard about any RichFaces isual editor support for NetBeans.

  • NetBeans 5.5 and the resulted jar

    hi all,
    i am facing a strange problem .. i developed my project using NetBeans 5.5 and hence a jar file abc.jar is also created.
    Now whenever i run this jar by double clicking it shows me error that
    Couldnot find the main class . Programm will exit
    but if i run that jar using java - jar abc.jar , all works fine ...
    Now wat should i do to enabling this jar file to run on double click .. ???
    I also have some other jar files of my previous projects ( which i built using jar cfm ...) which work fine while double clicking ..
    Regards,
    binmehar

    yeah i have alrady set the main class in the properties window of the project ...
    but to my surprise its running perfectly using ...
    java -jar abc.jar ..
    any help more ???

  • Sorry :Some Bad words for NetBeans 6.1 and GlassFish v2

    Hi All,
    I am really very sorry that i m going to use such bad words that i should not .But still i m doing so .
    Netbeans 6.1 and Glassfish v2 Server is the worst and very malfunctioning products from the basket of Sun.Neither proper documentation is available nor proper support .These are too slow as well .My company people are pushing me to use JBoss AS(which is looking very good this time.Earlier i hated that ) but i liked to go to with Glassfish .But failed
    I tried to explore too much information but couldn't get .I am getting it why Sun Microsystem provided very less information in its website as well .
    Any way ,i m going to omit both these products (must say the most worst products ) of Sun Microsystem .
    I appreciate the efforts of all the Engineers behind these products but condemn the documentation team which failed to provide the proper documentation .
    Good Bye ......
    (I will omit these latest by friday if donot get any response )

    Sorry to hear about your experience. Please let us know what went wrong. We will help.
    Re: product documentation and support, have you seen the following for GlassFish?
    - GFv2 UR2 Official Docs: http://docs.sun.com/app/docs/coll/1343.5
    - GF Documentation Home: https://glassfish.dev.java.net/javaee5/docs/DocsIndex.html
    - Blogs: http://blogs.sun.com/theaquarium/
    - Application Server Commercial Support: http://www.sun.com/software/products/appsrvr/support.jsp
    - Java EE Training and Certification: http://java.sun.com/javaee/support/training/
    - Application Server Training: http://www.sun.com/training/catalog/software/application.xml
    You may also post questions on GlassFish forum (http://forums.java.net/jive/forum.jspa?forumID=56&start=0) or use [email protected] email alias.
    Nazrul

  • Problems with netbeans 4.1 and mobility pack 4.1

    when i first installed netbeans 4.1 and the mobility pack it run beautifully and it recognized the midp classes and even showed me all the classes in the packages like its suposed to.
    now the second time i opened the ide it generated an io exception and then it dosen't recognise the midp packages and classes. it compiles the code with no problem but i wanna be able to see all the methods in a specific midp class or all the classes in a package, atleast thats what i downloaded it for, do u have any ideas why i'm getting this behavior???? thanks

    every time i open the ide it generates an IO Exception and it dosen't recognise the midp classes.
    i created a new user account and ran the ide from there and it opened without generating the IOException and it showed me the classes and everything, it ran beautifully. now when i closed the program and later reopened it, it generated the IOException and dosen't recognise the classes anymore.

  • JDK1.5.0 and J2SE 5.0

    Hi Friends,
    I'm trying to download jdk from sun website...I got a doubt like is JDK1.5.0 and J2SE both are same...if not...wht is the difference....
    thanks
    keshav

    JDK (Java Developpment Kit) is the old name.
    J2SE (Java2 Standard Edition) is the new name for standard JDK (versus J2EE, Java2 Enterprise Edition)
    So JDK1.5.0 == J2SE 1.5.0 == J2SE 5.0 (for marketing concerns, Sun crunched the "1." before the "5". "1.5.0" is developpers language, "5.0" is end-user langauge)

  • Difference between, jre, jdk, sdk and j2se

    Dear Sir/Madam,
    I want to do some java and j2ee development and run these applications in a java application server environment. Can anyone give me some advices on what should i need to download? Moreover, what is the difference between, jre, jdk, sdk and j2se? Should i need to download all of jre, jdk, sdk and j2se?
    thanks and regards,
    david

    JRE is the 'java runtime environment'. It is responsible for creating a Java Virtual Machine to execute Java class files (e.g., run Java programs)
    JDK is the 'java development kit'. It is the same as the 'SDK' (at least in my mind). It normally comes bundled with a JRE and also allows you to compile Java source files into Java class files. The JDK allows you to both write and run programs.
    J2SE is "Java 2 Standard Edition". It can refer to either a JDK or JRE. This is 'core' Java. There is also J2EE "Java 2 Enterprise Edition" which allows you to write middleware or server code more easily.
    Your final choice will be which version. If you want the current, most common implementation:
    J2SE 1.4.2, J2EE 1.3
    If you want to skip ahead to the next generation, the latest releases would be:
    J2SE 1.5 (also called J2SE 5.0) and J2EE 1.4
    - Saish

  • Netbeans 4.1 and creation of javadoc failure. Also no api docs...

    Hi people.
    I recently downloaded and installed Netbeans 4.1 over Netbeans 4.1 early access 1 and I got the two following problems that I didn't have before (the older version worked flawlessly):
    1: I cannot create the javadoc html files from the sources of the project. The IDE reports: javadoc: error - Illegal package name: "${javadoc.additionalparam}"
    tries to load the source tree and then reports:
    ProjectName\nbproject\build-impl.xml:344: Javadoc returned 1
    2: The IDE cannot find the Java 1.5 SDK documentation that was correctly installed in the folder docs of the Java 1.5 SDK and that worked flawlessly with the previous version of Netbeans that I had installed. I tried to import path names in Library Manager and Java Platform Manager, but no luck there either.
    Any ideas that could help the situation?
    Thanks all of you in advance!
    AkumaX

    I would suggest that your problems are due to the way you installed.
    Remove and reinstall a clean copy.
    No problems with either item for me in 1.4 final.

  • TimedObject -' TX attribute ' is not working with netbeans 5.0 and SAS 8.0

    Hello,
    I am building a master timer stateless session bean. I have followed the examples from this site as well as I know how, and have even removed all of the system messages and other fluff. I continue to get the following error:
    EJB Timeout method must have an attribute value of TX_REQUIRES_NEW OR TX_NOT_SUPPORTED for ejb
    I have looked through the TimedObject, Timer, and TimerHandle API, all of which seems very simple and does not have any TX field. The example from the site is also very simple, only requiring the declaration of a timer start, which needs a TimerHandle return(although the example does not have it returning a value, I have tried this code both as written and with a class level TimerHandle object returned from the createTimer(...).getHandle() method ), and the declaration of a void ejbTimeout(Timer timer). This method should work with no body in the method since the return is void. I also set my timer intervals to ensure that they were
    I am very confused and feel that this should be very easy. Does anyone know if I am dealing with a configuration error? I know that netbeans does not directly support the use of the ejb TimerService (which seems a little crazy to me, as most non-trivial applications require a timer in some form for periodic events), so are there any deployment descriptors in any of the files which need to be set for this service to work? This error looks to me like a configuration error on some level, or possibly a missing entry in one of the myriad of xml configuration files that are required. The code for my bean is below:
    package QualityPortal;
    import javax.ejb.*;
    * This is the bean class for the MasterSchedulerBean enterprise bean.
    * Created Jul 18, 2006 12:40:18 PM
    * @author ttaylor
    public class MasterSchedulerBean implements SessionBean, MasterSchedulerLocalBusiness, TimedObject
    private SessionContext context;
    private TimerHandle timerHandle = null;
    public void setSessionContext(SessionContext aContext)
    context = aContext;
    * @see javax.ejb.SessionBean#ejbActivate()
    public void ejbActivate()
    * @see javax.ejb.SessionBean#ejbPassivate()
    public void ejbPassivate()
    * @see javax.ejb.SessionBean#ejbRemove()
    public void ejbRemove()
    // </editor-fold>
    * See section 7.10.3 of the EJB 2.0 specification
    * See section 7.11.3 of the EJB 2.1 specification
    public void ejbCreate()
    timerHandle = startTimer();
    public javax.ejb.TimerHandle startTimer()
    TimerService timerService = context.getTimerService();
    Timer timer = timerService.createTimer(30000, "created timer");
    return timer.getHandle();
    public void ejbTimeout(Timer timer)
    //call to another bean here
    WMLReportFactoriesBean wml = new WMLReportFactoriesBean();
    wml.inspectionThroughput();
    }

    Your ejbTimeout() must have a transaction attribute, which resides in the ejb-jar.xml. You'd have to edit your descriptor to contain something like:
    <container-transaction>
    <method>
    <ejb-name>MasterScheduler</ejb-name>
    <method-name>ejbTimeout</method-name>
    </method>
    <trans-attribute>RequiresNew</trans-attribute>
    </container-transaction>
    Or NotSupported.
    Hope it helps.

  • About Netbeans 6.5 and Java EE 5 SDK

    Hi, I have already installed JDK 6u11 (with JRE) and Netbeans 6.5, do I still need to install J2EE SDK if I want to develop J2EE programs?
    Thanks!

    That message is true if you did not install the bundled tomcat server that comes included with NB6. Otherwise you will have to start tomat up separately with the tomcat6.exe and add a NEW tomcat server to NB.

Maybe you are looking for

  • IPod not showing up in iTunes or My Computer, but used to.

    This is stumping me. I got a blue iPod nano for Christmas from my mom, and the first three times I plugged it in to sync it, it would immediately show up and sync. But, I tried to sync it this week and nothing happened. It didn't show up in iTunes, M

  • Time capsule vs network accessible storage drive

    I currently have a network storage drive but doesn't support time machine. However, I store my iTunes library and photos there so they don't hog space on my hard drive. Can I use the time capsule as a backup drive AND a network accessible storage?

  • KM repository permissions

    Hi all, I have created my own file repository with security manager <b>ACL sesurity manager</b>.i have given the permissions according to <b>SAP Note 599425</b>. But when I am creating a user with c<b>ontent admin</b> ,and giving permissions for my d

  • Transport objects from 4.6C to ECC 6.0?

    Hello, I have developed some custom z-tables and an application in ABAP / Screen Painter on a 4.6C server. Is it possible to transport these to an ECC 6.0 system? Otherwise I will have to recreate everything on the ECC 6.0 server. Help is appreciated

  • Documentation On Interface Determination Conditions

    Hi Experts, Can any body provide the documentation on Interface Determination Conditions. Your help will be greatly appreciated. Thanks & Regards, Venkat