-Xlint warning when compiling with command prompt.

1 of the method i write in the program has a compilation warning when compiling with command prompt. When i compile the codes with the application i used to write the program has no error at all. Below is my code:
private static ArrayList readNum(String NumFile)
ArrayList key = new ArrayList();
String keyAttributes = readInput(NumFile);
StringTokenizer stk = new StringTokenizer(keyAttributes);
while(stk.hasMoreTokens())
key.add(stk.nextToken());
return key;
When i javac the program with -X;int, this errror occured:
warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.ArrayList
key.add(stk.nextToken());
^
1 warning
Anyidea how to solve this problem? Thanks for the help.

A quick google for that message would have told you that you're not using generics and the compiler complains about that.
Google for "Java Generics" to find out what all the fuss is about.

Similar Messages

  • Pragma error when compiling with SDK X

    Hi,
    I am trying to compile my plugin application (which compiled fine with the previous sdk) using the SDK X, but receive errors in CAVAlert.h on the exception handler construct DURING, HANDLER, END_HANDLER.
    The errors are listed here:
    Headers/API/CAVAlert.h:156:3: error: 'suppress' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: 'warning' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: '__pragma' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: expected ';' before 'jmp_buf'
    Headers/API/CAVAlert.h:156:3: error: 'ASException' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: expected ')' before ':' token
    Headers/API/CAVAlert.h:156:3: error: expected ';' before 'struct'
    Headers/API/CAVAlert.h:162:3: error: request for member 'E_RETURNOutsideDURINGBlock' in 'gBadReturnCatcher', which is of non-class type 'int'
    Headers/API/CAVAlert.h:162:3: error: expected ')' before ':' token
    Headers/API/CAVAlert.h:162:3: error: expected ';' before 'int'
    Headers/API/CAVAlert.h:165:3: error: 'ENDHANDLEROutsideHANDLER' was not declared in this scope
    To compile against to SDK X all I did was:
    1) Used PIMain.c from the SDK X API directory.
    2) Changed ACRO_SDK_LEVEL=0x00090000 => ACRO_SDK_LEVEL=0x000A0000
    3) Changed the include directories to point to the new SDK X directories
    Is there another directive I must add to get the plugin to compile with SDK X?
    My preprocessor list is as follows:
    ACRO_SDK_LEVEL=0x000A0000
    HAVE_W32API_H
    PDMETADATA_HFT=1
    PLUGIN=1
    WIN32
    WIN_ENV
    WIN_PLATFORM
    WXUSINGDLL
    _CRT_SECURE_NO_DEPRECATE
    _DEBUG
    _WINDOWS
    __GNUWIN32__
    __WIN32__
    __WXMSW__
    Thank you,
    Magda

    Without seeing your code, I can't really help.
    If you want help with your code, open a formal support ticket.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 6 Dec 2011 04:09:25 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Pragma error when compiling with SDK X
    Pragma error when compiling with SDK X
    created by magdakuit<http://forums.adobe.com/people/magdakuit> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4066378#4066378

  • Codepage problem when compiling with fastjavac

    Hi,
    I'm getting the following warnings when compiling with fastjavac:
    fastjavac: warning: Can't find codepage for "Cp1250" encoding.
    fastjavac: warning: Use default ANSI codepage.
    2 warnings
    How could I suppress these warnings?
    Thanks in advance

    I think you are posting it on the wrong Forum. This is for Forte 4GL not Forte for Java.

  • Not able to compile from command prompt

    Hi,
    I have a javafx class which calls java object. I'm able to compile project from NetBeans but not from command prompt.
    When i compile from command prompt compiler shows error saying it can not identify symbol (treats java class name as symbol).
    I have already compiled my java class, and is in same dir as my java fx class.
    Any reason for such beahviour?? and some solution plsss

    import java.lang.Math;
    import javafx.application.*;
    import javafx.input.*;
    import javafx.scene.*;
    import java.lang.System;
    import com.sun.javafx.runtime.sequence.*;
    import java.util.Iterator;
    import dekoh.photo.command.ImageService;
    public class ImageRotater extends CustomNode{
    public attribute image: Image;
    public attribute x: Number;
    public attribute y: Number;
    public attribute angle: Number;
    private attribute startX: Number = 0.0;
    private attribute startY: Number = 0.0;
    private attribute startA: Number = 0.0;
    private attribute moverOpacity: Number;
    private attribute rotatorOpacity: Number;
    private function toggle(mo:Boolean, ro:Boolean): Void {
    moverOpacity = if (mo) 0.5 else 0.0;
    rotatorOpacity = if (ro) 0.5 else 0.0;
    public function create(): Node {
    var cx = image.width / 2.0;
    var cy = image.height / 2.0;
    var mover = Circle {
    cursor: Cursor.CROSSHAIR,
    radius: 20,
    centerX: cx, centerY: cy,
    anchorX: bind x + cx,
    anchorY: bind y + cy,
    fill: bind Color.rgb(200, 200, 255, moverOpacity),
    onMouseMoved: function(e:MouseEvent):Void {
    toggle(true,false);
    onMouseExited: function(e:MouseEvent):Void {
    toggle(false,false);
    onMousePressed: function(e:MouseEvent):Void {               
    toggle(true,false);
    startX = e.getStageX();
    startY = e.getStageY();
    onMouseDragged: function(e:MouseEvent):Void {               
    toggle(true,false);
    x = x + e.getStageX() - startX;
    y = y + e.getStageY() - startY;
    startX = e.getStageX();
    startY = e.getStageY();
    var rotator = ShapeSubtract {
    cursor: Cursor.HAND,
    fill: bind Color.rgb(200, 200, 255, rotatorOpacity),
    onMouseExited: function(e:MouseEvent):Void {
    toggle(false,false);
    a: Circle {
    centerX: cx, centerY: cy, radius: mover.radius * 3.0,
    b: Circle {
    centerX: cx, centerY: cy, radius: mover.radius,
    var border = Rectangle{
    width: image.width, height: image.height
    arcWidth: 20, arcHeight: 20,
    return Group {
    anchorX: cx, anchorY: cy,
    rotate: bind angle,
    translateX: bind x,
    translateY: bind y,
    content: [ ImageView {
    clip: border,
    image: image, clipAntialiased: true,
    }, DelegateShape {
    shape: border,
    stroke: Color.rgb(200, 200, 200, 1.0), strokeWidth: 4,
    }, rotator, mover ]
    var contents:ImageRotater[] = [];
    var i = 0;
    var urls = ImageService.getUrlList(); // calling static method of java class
    var j=0;
    while(j<urls.size()){
    var img:Images = urls.get(j) as Images; // another java class.
    var imgRot = ImageRotater {      
    image: Image { url: img.getUrl() },
    x:img.getX(), y:img.getY(), angle:90
    insert imgRot into contents;
    j++;
    Frame {
    title: "JavaFX"
    width: 1080, height: 480
    visible: true
    closeAction: function() {
    java.lang.System.exit(0);
    stage: Stage {
    fill: null
    content: contents
    On Compiling from command prompt
    F:\dekohv6\butterfly\installer\samples\picApp\src\dekoh\photo\command>javafxc ImageRotater.fx
    ImageRotater.fx:17: cannot find symbol
    symbol : class ImageService
    location: package dekoh.photo.command
    import dekoh.photo.command.ImageService;
    ^
    ImageRotater.fx:115: cannot find symbol
    symbol : variable ImageService
    location: class dekoh.photo.command.ImageRotater
    var urls = ImageService.getUrlList();
    ^
    ImageRotater.fx:118: cannot find symbol
    symbol : variable Images
    location: class dekoh.photo.command.ImageRotater
    var img:Images = urls.get(j) as Images;
    ^
    ImageRotater.fx:118: cannot find symbol
    symbol : variable Images
    location: class dekoh.photo.command.ImageRotater
    var img:Images = urls.get(j) as Images;
    ^

  • Data not visible in table o/p when compiled with webdynpro compiler

    Hi,
    I am using a Z BAPI to retrieve data from backend ECC6 server and show it using a VC application.
    When I compile this VC application using FLASH(FLEX2), the data is shown in the table, whilst if the VC application is compiled using Webdynpro compiler, the data is not shown in the table.
    The No. Of Rows  parameter has been updated with 10.
    Please suggest what can be done so that data is shown when compiled with Webdynpro compiler.
    Regards,
    Ranu

    Hi Ranu,
    WebDynpro Compiler only supports Webservices.
    You can look at the below link to get into full details -
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/limitationsofWeb+Dynpro
    Regards,
    Vipin Vijayan.

  • Lenovo has different F8 screen, can't get to safe mode with command prompt - account locked out

    Thinkpad W500, Win7Pro.  Can't login: "the referenced account is currently locked out and may not be logged on to". I need to boot to safe mode with command prompt to enable the Administrator account (disabled by default) with a "net user administrator /active:yes" command, but Lenova has their own recovery and interfaces which are preventing me from accessing with normal windows techniques. I either need to be able to get a command prompt on the true C: drive, or reset this lockout situation, and fast...  Waiting more than 180 minutes did not work, and using system restore is not an option-key software patches and additions make this very unattractive, and I know how to do that. 
    Optional Information:
    Computer OS: Windows 7
    Browser: IE
    Already Tried:
    -ThinkVantage button (reg and advanced views) -a boot disk for pwd reset program (I know password, but I am locked out - didn't help) -F8, Repair options and all safe modes -NOT system restore, as we are trying to not undo months of software revisions - we just need to login!

    If we take the error messages seriously, then probably the first thing that you would have to do would be to replace the malformed library:
    /System/Library/Frameworks/Security.framework/Versions/A/Security
    If you have another computer with the same operating system, you could connect via target disk mode and copy over the good library to replace the bad one. I don't know if this library is different between 10.2.6 and 10.2.8. If the library were fixed, that might solve your other problems and it might not. There is no way for us to know.
    Alternatively, you could do an archive and install.

  • Certification Validation fails only when executed through Command prompt

    I am developing a testing application using Java which calls multiples services a certain number of times. A few of these services are https protocol and hence require certification validation when the call is established.
    The testing application works fine when i run it on Eclipse but the requirement is to run a .bat file which in turn will call the java class which has some logic and then call the client stub (which i generated on Eclipse using the wsdl)
    The problem is when i try calling the java class from .bat file or command prompt the call fails with the following error :-
    ======== Running SecurityService ================
    16-May-2011 11:40:36 org.apache.axis.utils.JavaUtils isAttachmentSupported
    WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachmen
    t support is disabled.
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation faile
    d: java.security.cert.CertPathValidatorException: subject/issuer name chaining check failed
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorExc
    eption: PKIX path validation failed: java.security.cert.CertPathValidatorException: subject/issuer name chaining check f
    ailed at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
    at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.telenor.security.server.service.SecurityServerServiceHTTPBindingStub.loginByPasswordForAssertion(T
    elenorSecurityServerServiceHTTPBindingStub.java:812)
    I have made sure that the required certificates are imported into the Java Keystore . What i find confusing is how does Eclipse not have an issue with the certificate validation ?

    JSSE Reference Guide, Customization section.

  • Bug report: ube_ipa: internal error when compiling with -xO5

    When compiling imlib2-1.1.2, one source file causes compilation to fail with the following error message:
    ube_ipa: internal error
    cc: ube_ipa failed for loader_tiff.c
    The command which fails is (probably wrapped):
    cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I../loaders -I../libltdl -I/usr/X11R6/include -I/usr/openwin/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -g -fast -xarch=386 -xstrconst -v -xildoff -xO5 -c loader_tiff.c -KPIC -DPIC -o .libs/loader_tiff.o
    Changing -xO5 to -xO4 works around the problem. The source file in question is imlib2-1.1.2/loaders/loader_tiff.c
    Patch 112756-10 has been applied, and doesn't correct the problem. GCC doesn't have any problem compiling the file.
    A quick note to any Sun employees reading this: it took me 45 minutes to find somewhere to submit this bug report. Searching sun.com for "submit bug report" turned up many forum postings where people asked "Where do I submit bug reports?", a bug report form for Sun One Java Studio, and not much else. It might be in your interest to make submitting bugs easier.

    Internal errors, such as the one you encountered, are generally considered compiler bugs. They indicate that the compiler reached an unexpected state and therefore bailed out. I opened bug 20703141: internal error: pic_relocs(): hh reltype? to investigate. I see the same error message emitted by the current Studio development release; I will update this thread if I find a work-around.
    Thanks,
    Mark

  • Strange warning when compiling for iOS, "PIE disabled", Is it safe to submit to the App Store?

    I get this warning when building:
    ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _llvm_unwind from AOTBuildOutput-0.o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
    The app appears to be fine so far, and I haven't seen it mess up anything functionally yet, but am still testing.
    Edit: I am also curious as to what exactly this is. I think it is possibly related to an ANE that I NEED to use to work around a bug in AIR.

    I have never seen this warning cause any issues with the app so far.

  • Can't find library when compiled with debugging

    Hi all,
    Compiling this code segment cannot find a library when using -g
    bash-3.2$ cat tester.cc
    #include <iostream>
    #include <string>
    using namespace std ;
    static void
    myRoutine()
    string str= "this is in routine" ;
    string str3 ;
    str3 = str.substr(11,7) ;
    if(str.substr(0,4) == "this") cout << "Have a hit" << endl ;
    cout << "this is str3 - " << str3 << endl ;
    int main(int argc, char **argv)
    string str = "this is a test" ;
    string str1, str2 ;
    str1 = str.substr(0,4) ;
    str2 = str.substr(10,4) ;
    cout << "this is str1 - " << str1 << endl ;
    cout << "this is str2 - " << str2 << endl ;
    myRoutine() ;
    return 0 ;
    bash-3.2$ CC -g -o tester tester.cc
    bash-3.2$ ldd tester
         libCstd.so.1 =>     /usr/lib/libCstd.so.1
         libCstd.so.1 (SUNW_1.4.2) =>     (version not found)
         libCrun.so.1 =>     /usr/lib/libCrun.so.1
         libm.so.2 =>     /usr/lib/libm.so.2
         libc.so.1 =>     /usr/lib/libc.so.1
    If I comment out:
    if(str.substr(0,4) == "this") cout << "Have a hit" << endl ;
    bash-3.2$ cat tester.cc
    #include <iostream>
    #include <string>
    using namespace std ;
    static void
    myRoutine()
    string str= "this is in routine" ;
    string str3 ;
    str3 = str.substr(11,7) ;
    // if(str.substr(0,4) == "this") cout << "Have a hit" << endl ;
    cout << "this is str3 - " << str3 << endl ;
    int main(int argc, char **argv)
    string str = "this is a test" ;
    string str1, str2 ;
    str1 = str.substr(0,4) ;
    str2 = str.substr(10,4) ;
    cout << "this is str1 - " << str1 << endl ;
    cout << "this is str2 - " << str2 << endl ;
    myRoutine() ;
    return 0 ;
    bash-3.2$ CC -g -o tester tester.cc
    bash-3.2$ ldd tester
         libCstd.so.1 =>     /usr/lib/libCstd.so.1
         libCrun.so.1 =>     /usr/lib/libCrun.so.1
         libm.so.2 =>     /usr/lib/libm.so.2
         libc.so.1 =>     /usr/lib/libc.so.1
    Or if I remove -g:
    bash-3.2$ cat tester.cc
    #include <iostream>
    #include <string>
    using namespace std ;
    static void
    myRoutine()
    string str= "this is in routine" ;
    string str3 ;
    str3 = str.substr(11,7) ;
    if(str.substr(0,4) == "this") cout << "Have a hit" << endl ;
    cout << "this is str3 - " << str3 << endl ;
    int main(int argc, char **argv)
    string str = "this is a test" ;
    string str1, str2 ;
    str1 = str.substr(0,4) ;
    str2 = str.substr(10,4) ;
    cout << "this is str1 - " << str1 << endl ;
    cout << "this is str2 - " << str2 << endl ;
    myRoutine() ;
    return 0 ;
    bash-3.2$ CC -o tester tester.cc
    bash-3.2$ ldd tester
         libCstd.so.1 =>     /usr/lib/libCstd.so.1
         libCrun.so.1 =>     /usr/lib/libCrun.so.1
         libm.so.2 =>     /usr/lib/libm.so.2
         libc.so.1 =>     /usr/lib/libc.so.1
    then I can run successfully
    Any thoughts or hints?
    bash-3.2$ CC -V
    CC: Sun Ceres C++ 5.10 SunOS_i386 2008/07/10
    Usage: CC [ options ] files. Use 'CC -flags' for details
    bash-3.2$ uname -a
    SunOS alpha 5.11 snv_86 i86pc i386 i86pc
    Thanks,
    Jim

    Ack! Please ignore my earlier posting. I did not play close enough attention to details in your post. I apologize for the confusion. Let me start over:
    The Studio Express release you have contains a newer version of the C++ runtime library libCstd.so.1 than is available yet in Solaris patches. We bump the internal version number when we add new interfaces. The internal version number of the Studio Express library is SUNW_1.3.2. The version of the latest release Solaris patch is SUNW_1.3.1.
    Some new string class operator functions are in version SUNW_1.3.2. I think these are also defined as inline functions in the compiler headers. When you compile with -g, inlining is disabled, and you create a dependency on library version SUNW_1.3.2. (Compiling with -g0 allows function inlining, and might resolve your problem, but read on.)
    We have not released a libCstd.so.1 with internal version SUNW_1.4.2, so I don't understand how that version number could appear in an error message. Did you really see that version, or is it a transcription error? For now, let's assume it is a transcription error.
    When you compile and link with CC, the program gets a runpath pointing into the compiler installation area. At program run time, the loader looks for libraries in directories listed in the runpath, with /lib and /usr/lib as last resort. The "ldd" command reports what the runtime loader will do regarding dependent libraries.
    If the compiler is installed in /opt, a 32-bit program gets a runpath that includes /opt/SUNWspro/lib. In that directory in Sun Studio Express is a symbolic link that points to ../prod/usr/lib/libCstd.so.1, the library with version SUNW_1.3.2.
    If you try this:
    % /opt/SUNWspro/bin/CC hello.cc
    % ldd a.out
    you should see, among other things,
    libCrun.so.1 => /opt/SUNWspro/lib/libCstd.so.1
    (Depending on the OS version, you might see
    libCrun.so.1 => /opt/SUNWspro/prod/usr/lib/libCstd.so.1 instead.)
    But if ldd can't resolve the library, you probably have a corrupted Sun Studio Express installation. In that case, uninstall it, and reinstall from a fresh download.
    If you run the program on a different computer where Sun Studio Express is not installed, the loader won't be able to find the right library version, and you will get "not found" results. I addressed this issue in another thread:
    http://forums.sun.com/thread.jspa?threadID=5340163

  • Scanner works in JCreator but doesn't when run from Command Prompt?

    Can someone tell me why I can run this program in JCreator with no problems, but when I run it with the Command prompt it throws a java.util.InputMismatchException if I input anything?
    import java.util.Scanner;
    public class tester {
        public static void main(String[] args) {
            Scanner in = new Scanner(System.in).useDelimiter("\n");
            System.out.println("Type either 1 or 2");
            int temp = in.nextInt();
            System.out.println("");
            if (temp == 1)
                 System.out.println("you typed 1");
            if (temp == 2)
                 System.out.println("you typed 2");
            else
                 System.out.println("you typed something else!");
    }

    Try this code it is running correctly on command prompt
    import java.util.Scanner;
    public class tester {
        public static void main(String[] args) {
            Scanner in = new Scanner(System.in);
            System.out.println("Type either 1 or 2");
            int temp = in.nextInt();
            System.out.println("");
            if (temp == 1)
                 System.out.println("you typed 1");
            if (temp == 2)
                 System.out.println("you typed 2");
            else
                 System.out.println("you typed something else!");
    }

  • Create WiFi Hotspot with Command Prompt?

    I was trying to create WiFi Hotspot on my Windows 7-32bit running laptop using the command promt method after followinng the instructions from here >> http://www.techswatch.com/2014/11/create-wifi-hotspot-windows-87-command-prompt.html However, the problem is, after creating the hostpot, when I enter the password it does get connected but I cannot access the internet. I am sure that I have entered the correct password else it wouldn't have got connected. Any idea what could have gone wrong or if I need to follow anything else? Any help would be apprecited. 

    I think it is better to use Wi-Fi creator to create WiFi in laptop. Search 160 WiFi in Google!

  • JDBC Driver error when working in command prompt.

    I have a swing program that connects to MySql Database. When run within the Netbeans IDE, there are no errors. But when I run through the command prompt, I get the User Interface screen but does not connect to the database. I have also added the "mysql-connector-java-5.1.6-bin.jar" file in the jdk folder.
    The error I get is "com.mysql.jdbc.Driver" which is the driver I have been using in Netbeans. How do I get over this problem?

    The error I get is "com.mysql.jdbc.Driver" which is the driver I have been using in Netbeans. How do I get over this problem?1. Fix your GUI so it reports the problem, rather than relying on command line output.
    2. Fix your class path which doesn't have the driver jar.
    3. There is a JDBC forum.

  • Kaffeine embedded crash fixed when compiled with libxcb support?

    From kaffeine website:
    Embedded Kaffeine crash fixed.
    This long standing bug is now fixed in current svn ...
    In order to make it possible, we have ported Kaffeine and xine to xcb (a thread-safe replacement for xlib).
    You can give it a try right now:
    1) install libxcb=>1.0
    2) install current xine-lib cvs (it contains xcb based video output plugins: xshm and xv)
    2) install current Kaffeine svn
    Notes
    a) Both xine-lib and Kaffeine have to be compiled with xcb support (autodetected, check configure results).
    b) Kaffeine will still work with xlib based video out plugins if compiled without xcb (but then, no fix!)
    From 0.8.4 changelog:
    * xine-part: support for xcb. Requires libxcb 1.0 and xine-lib 1.1.5. Fixes several issues.
    Any reason not to incorporate this? If it lives up to it's promises It could mean kde users only need ONE media player :-)  (I have 2 installed just to get DVD menus and embedding in konqueror without crashing)
    Any thoughts?
    Cheers,
    Steve.

    I felt that the laptop was possibly overheating and that is why I started down the road to call "customer support", thinking that a fan went out or there was damage to hardware due to it over heating.  And that road got me no where in a fast manner, and two "techs" telling me it was a software related issue and that I needed to reformat the laptop (twice) and re-install to factory settings.  Even when I did this, it still had the issue and they again told me that it was software related when there was no software on the computer except for Windows 7.  The only thing that customer support helped me with is the knowledge of next time I buy a laptop, but Dell or any other laptop besides a Toshiba.  That is too bad.
    Anyway, I tried to continue on with my thinking of a possible over heating issue, so I blew air into the vents and fins of the laptop.  A lot of dust came out.  I kept blowing air into the vents until no more dust came.
    My wife had to re-install everything again to her laptop after I got the major items re-installed.  She has been running it for the last day or so with no issues.  We hope that this was the issue.  I know she enjoys the laptop when it was running well.
    I guess we will see how it goes.

  • Error LNK2019 occurred when compiling with CS6 on Win

    When i try to use GetMousePosition() in my code, i got bellowing link error when compiling in VS2010.
    Is there any library i can include to resolve it?
    error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function "struct tagPOINT __cdecl GetMousePosition(void)" (?GetMousePosition@@YA?AUtagPOINT@@XZ)
    Thanks,
    Aidy

    Steps to reproduce the problem:
    1. New an empty project with name "test" using DollyXs on Windows;
    2. In testActionComponent.cpp, modify DoAbout() to be
    void testActionComponent::DoAbout()
              GetMousePosition();
    3. Build the project.
    Then, we will get bellowing link error
    1>     Creating library ..\..\..\build\win\objD\test/test.lib and object ..\..\..\build\win\objD\test/test.exp
    1>testActionComponent.obj : error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function "private: void __thiscall testActionComponent::DoAbout(void)" (?DoAbout@testActionComponent@@AAEXXZ)
    1>..\debug_cs6\test.sdk.pln : fatal error LNK1120: 1 unresolved externals
    There is no such link error in the sdk sample BasicDragDrop.sdk.vcxproj, but i cannot find any special setting in its project property.
    Any suggestion will be appreciated.
    Thanks,
    Aidy

Maybe you are looking for