Javax class libraries in VJ++ 6.0

Hello,
I'm using VJ++ 6.0: it does not recognise the javax class libraries, among others. I've installed version 1.4.2_04 of the SDK, which contains all the new class libraries. There is a directory containing the old class libraries, c:\winnt\java\packages. But each time I open VJ++, it goes to these old class libraries. So a project that uses javax won't compile. However: if I compile from the command prompt, it works fine. I want to use VJ++ though, as it's easier to use for writing code. Is there any way I can update VJ++ to take from the new class libraries? There's an option in Project/prjExample Properties, in the ClassPath tab, which allows me to extend the project ClassPath. This only seems to take zip files though - and all of the 1.4.2 is contained in jar files. Could there be somewhere else where this can be done?
Please help!

no, you cant simply combine different classpaths/jvs/compilers.
J++ uses an Microsoft-Compiler and a Microsoft-JVM so theres no chance at all to get this working. (However there is an external swing-package for 1.1-class jvms but it is outdated and not recommended at all).
Have you ever tried JBuilderX or other modern IDEs. Most are free for non-commercial use and are much more standard-compliant and comfortable that J++.
J++ isnt even support by microsoft since a long time, so switch so something new you are sitting on a dead end!
lg Clemens

Similar Messages

  • Adding Class Libraries

    hello
    right now i wanna use JTAPI (as shiped by java.sun.com) class libraries with JBuilder/JDeveloper how can i add them in IDE, it only accepts .jar files as a class libraries but i got simple class files(as shipped with java.sun.com)
    kindly help me in this regard

    I would recommend using the jar utility instead of zip. Actually, I would say DO NOT use zip. The jar utility comes with the JDK and the usage is this:
    Usage: jar {ctxu}[vfm0M] [jar-file] [manifest-file] [-C dir] files ...
    Options:
    -c  create new archive
    -t  list table of contents for archive
    -x  extract named (or all) files from archive
    -u  update existing archive
    -v  generate verbose output on standard output
    -f  specify archive file name
    -m  include manifest information from specified manifest file
    -0  store only; use no ZIP compression
    -M  do not create a manifest file for the entries
    -i  generate index information for the specified jar files
    -C  change to the specified directory and include the following file
    If any file is a directory then it is processed recursively.
    The manifest file name and the archive file name needs to be specified
    in the same order the 'm' and 'f' flags are specified.
    Example 1: to archive two class files into an archive called classes.jar:
    jar cvf classes.jar Foo.class Bar.class
    Example 2: use an existing manifest file 'mymanifest' and archive all the
    files in the foo/ directory into 'classes.jar':
    jar cvfm classes.jar mymanifest -C foo/ .I use it like this:
    jar -cvf filename.jar folderName
    Good luck!

  • Syntax/error checking breaks in FlexBuilder/Flashbuilder with class libraries over Samba?

    We have our class libraries on a shared server we access via Samba (and ssh for command line). Sadly, several features seem to fail in both Flex Builder and Flash Builder/Gumbo with this setup. For example, we no longer get automatic syntax and error checking. Anyone familiar with this issue and able to suggest a solution? Thanks!

    Be sure you are not mixing -compat=4 and -compat=5 compilations in the same program.
    The -compat=4 mode is for compiling very old source code that was written for C++ 4.2 (1996). It provides almost none of the features of standard C++. Don't use this mode unless there is a specific reason why you must.
    Do not use -I or -L options that point into /usr/include, /usr/lib, or into the compiler installation area. These directories are always searched by default in the correct order. If you specify them explicitly, you force an incorrect search order.
    Be sure you have the minimum patch level of SUNWlibC required by the compiler. The patch includes libCstd, libCrun, libC, libiostream, libdemangle, and some other files. The minimum patch level comes with the compiler, and the Sun Studio installer will install the patch on the system where the compiler is installed.
    You also need the patch on every system that runs the compiler, and every system that runs programs created by the compiler.
    It is always safe to use the latest SUNWlibC patch. You can download the current patch from
    http://developers.sun.com/sunstudio/downloads/patches/index.jsp
    But the link failure in your case is due to a missing function from your own code, since it involves a function parameter of a programmer-defined type. I suspect you have either
    1. failed to define (provide a body for) the function,
    2. declared it inconsistently as inline and not inline,
    3. defined the function in a namespace different from the one where it was declared, or
    4. failed to link the object file where the function is defined.

  • JDBC 2.0 Class libraries

    Does that standard installation of BEA Web logic server version 6.1 contain the JDBC 2.0 classes. If not I assume that I have to download and install the class libraries in addition to the web server installation.

    Stuart Amos wrote:
    Does that standard installation of BEA Web logic server version 6.1 contain the JDBC 2.0 classes. If not I assume that I have to download and install the class libraries in addition to the web server installation.What JDBC 2.0 classes are you refering to? The definition of JDBC 2.0 exists as classes in the java.sql
    package, which is part of any recent JVM. JDBC drivers may or may not implement all the JDBC 2.0
    methods. Our driver for Oracle or for MS SQLServer do not implement many or any of the JDBC 2.0
    methods. The thin Oracle driver we ship does most of them, as does the sybase driver. All our internal
    drivers, used for accessing pool connections, are all JDBC 2.0-capable.
    Joe

  • Can�t find javax classes??

    I resently installed jdk 1.4 to my win XP and it�s working fine except for all the javax classes that the system can�t find. Do I need to define a path or something to find these?

    But I cleared my system of old jdks before I installed
    the new.. Shouldn�t that be enough? The java console
    says version 1.4. Is the javax classes included in the
    jdk package?Which javax packages? Some of them (such as javax.ejb) belong to J2EE (enterprise edition), not to the J2SE (standard edition JDK).

  • Installing javax classes

    I downloaded the file "servlet-2_3-fcs-classfiles" which should enable me to compile servlets on my jakarta-tomcat server.
    Anyone have a clue where to put the javax class files?
    I think it goes without saying, I am new at this too.
    Thanks.
    Bill

    You can leave them in jar or zip format (which i'm assuming is how they came) and simply include that file your classpath. Or you can extract those files out to a directory, and include that base directory structure in your classpath. Either way will work fine, although there's little reason to actually extract them unless you just have space to kill on your hard disk.
    You'll probably want to add it to your local machine's classpath, as well as the classpath in your Tomcat server.

  • Forte Class Libraries

    All,
    Has anybody used any Forte Class Libraries. What do they provide and
    how do you rate them.
    We are a Forte greenfield site are looking for some Class Libraries to
    kickstart our development.
    TIA
    Joe
    The views stated are personal and do not necessarily reflect those of
    Saudi International Bank
    Joe Gill Voice: +44 (0) 171 259 3185
    Saudi International Bank Fax: +44 (0) 171 259 6060
    London SW1X 7XS
    Work Email: [email protected]

    From: "Fred Scholldorf +1 (516) 434-6230" <[email protected]>
    No parser/lexer that I know of, but I know what
    you should try to wrapper if you did want a
    great Lexer/Parser package.
    I would go for T. Parr's PCCTS. (www.oncus.com/pccts.html)Good tip, but there is a minor typo in the URL you've provided.
    It should be "www.ocnus.com/pccts.html".
    Michael Brennan
    Programmer/Analyst
    Amgen Inc.

  • In what language awt, sun, javax classes are written

    In what language awt, sun, javax classes are written?
    c/java or some other?
    .:moby:.

    uhhh. Java. The code is in the source.jar in your installation directory (if you have SDK and chose to install source...)

  • Java Class Libraries

    Does anyoen know where I can get just the Java Class Libraries in a .zip format but using .java files and not .class files?

    Do you mean the source code for JDK?
    This you can get from
    http://wwws.sun.com/software/java2/download.html

  • Class Libraries and Code used to Access Google Distance Matrix API

    Hey Everyone....! I want to use Google Distance Matrix API with my C# application, which gets two co-ordinates(Latitude/Longitude) and pass them to API. Also to receive the results from API and construct and output class to interpret JSON objects.
    Can anyone please tell me about class libraries and code used for above purpose.
    Longbow

    Hello,
    If you want to use the Google Distance Matrix API, i suggest that you could post code sample demo to this api forum:
    https://developers.google.com/maps/support/
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [Solved] CLASSPATH for javax.swing libraries?

    Hello,
    I wanted to use the swing packages provided by java for developing cross platform GUIs. But, when I tried compiling it, I ended up with the following error:
    HelloWorldSwing.java:1: package javax does not exist
    import javax.swing;
    After searching a bit online, I found out that the CLASSPATH variable needed to be set to use external java libraries. (I installed the jdk and jre packages). I tried setting CLASSPATH to /opt/java/jre/lib in my ~/.bashrc but that didn't help. What should I do to remedy this situation?
    (This is the first time that I am trying to use external libraries like swing on Arch. So I am a Noob at this)
    Thanks for your time!
    Last edited by mgangav (2009-11-24 15:45:59)

    urist wrote:
    The
    import javax.swing.event.*;
    is unnecessary as it is covered by the previous import.
    No, each package must be imported separately, even if one is "inside" the other.  I wrote a little test program to make sure   Try compiling it with line 4 commented/uncommented.
    package foo;
    import javax.swing.*;
    //import javax.swing.event.*;
    public class Thingy
    public Thingy() {
    JMenu menu = new JMenu("File");
    menu.addMenuListener(new MenuListener() {
    public void menuCanceled(MenuEvent e) {
    System.out.println("canceled");
    public void menuSelected(MenuEvent e) {
    System.out.println("selected");
    public void menuDeselected(MenuEvent e) {
    System.out.println("deselected");

  • About importing class libraries?

    I want to develop a webmail project,so I must use the javax.mail.*,but when I build a new project by J Bulider 5,I can not import those class,why?the same project is when I develop an common project,I can import javax.servlet.*, but when I build a web project,it do.why????thanks

    Presumably you mean you can't compile it.
    There is some obscure way that you have to include the jar in the IDE that you are using. You can wait until someone provides that or search in the forums for JBuilder and find one of the previous posts that explains how to do it.

  • Javax class not found error.

    First and formost, apologies if this is in the wrong forum.
    I'm running NB 6.1 and trying to add the new kewl mysql features to my servlet. It automatically added all the code and inserted imports for javax.
    For some reason it says that it can't find the following classes:
    import javax.persistence.CascadeType;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    import javax.persistence.OneToMany;
    import javax.persistence.Table;However it does recognise that javax.persistence exists.
    I've tried running it with both jdk 5 & 6 with no luck.
    I'm sure Javax is inbuilt, Is there something I'm missing?

    Ok, the classes are included if the glassfish server is running, since I'm running Tomcat I created a library with all the classes in it and added it to my project.
    I was then able to use the entity classes I created with no bother.
    Then I proceeded to install RESTful webservices. and add the restfull webservices to the project.
    Now if I run/debug the main project, it doesn't run my main servlet!!!
    When running test Restful webservices I receives: Cannot acces WADL: Please restart your RESTfull webservices and reload this page.
    How do I get the project to run the orginal servlet now and bypass the restfull web service?
    How do I fix the Restfull problem

  • BC4J class libraries installation problem

    Hi,
    I've created CMD entity bean with JDeveloper 3.2 and want to deploy it to Oracle 8i(8.1.7) server. The problem is it stopp loading classes to server after a while.
    Could the cause of this be the size of java pool size? i've set it to 64 MB and even increase other SGA memory part.
    Thanx in advance.
    /Hoa

    You will need to make sure that all of the following parameters in your init.ora file are pretty large to deploy EJBs and BC4J runtime libraries to 8.1.7:
    java_pool_size
    large_pool_size
    shared_pool_size
    I would make them as large as you possibly can. Here's what I have in my init.ora file:
    shared_pool_size = 72428800
    java_pool_size = 60971520
    large_pool_size = 100000000
    This is an 8.1.7 instance running on a Sun E450 with tons of disk space and memory, so my numbers may not work for your environment. I just took whatever was there by default and bumped it up by a lot.
    But I got errors during deployment which indicated what the problem was. If you are not getting errors, your problem could be something else. But try setting all three of the above and see if this helps.
    You might check the Oracle8i 8.1.7 online docs to see if they have any recommendations in the Enterprise Java Beans Developer's Guide.

  • What to download to get javax classes

    I'm new to java and are wondering what I need to download to get the classes from the javax package.
    Many thanks,
    Marcus

    There isn't any "javax" package. A whole lot of packages are "javax.something"; some are in the standard Java APIs and some are not. Did you have something particular in mind?

Maybe you are looking for

  • IPod Shuffle: No recognition but somehow still being read?

    I have a iPod Shuffle (2gen) that I ended up getting for free from someone else. Problem is that it doesn't show up on my Mac (laptop) or iTunes whatsoever but from what I see when I look at the iPod it's blinking orange so it's being read? I just bo

  • Newbie: Trying to import from an old camcorder DVD

    Hi, Bit of a vague question but hope someone can help. I have been given a DVD+RW which was taken directly out of an old (>3yrs) home camcorder. - When I put the DVD into my home DVD player (the standard gadget connected to the telly), it works fine:

  • M10 - sharing files in network

    is there a setting I need to change in the valet system or is this a windows setting change only ?  I am wanting to share files between the 2 pc on the valet network AND  a wired printer connected to the main pc with the 2nd pc . Possible ? yes/ no T

  • How do I subscribe to podcasts when only RSS address/link is provided?

    How do I subscribe to podcasts when only RSS address/link is provided?

  • FieldPoint Write LabVIEW Error -33499

    Hi all, I'm going to try to explain this as coherently as possible:   I've got an application running on a cFP-2200 that uses LabVIEW 8.6.1 and FieldPoint 6.0.4.  This application is communicating with some IO modules on a FP-1601 over Ethernet.  I'v