Connecting JAVA with  Video Card

Hai,...
Can someone tell me how to connect Java with a video card (like Matrox, dec-link, etc)?
Because i want to display a video using that video card to a TV monitor.
Is there any tutorial about this? and about connecting JAVA with other device?
Thank you,
Billy

Hai,...
Can someone tell me how to connect Java with a video card (like Matrox, dec-link, etc)?
Because i want to display a video using that video card to a TV monitor.
Is there any tutorial about this? and about connecting JAVA with other device?
Thank you,
Billy

Similar Messages

  • Can' t connect Java with MySQL

    My goal is to connect Java with MySQL. I found many solutions on Internet, but I always get the same mistake:
    SQLException: No suitable driver
    SQLState: 08001
    VendorError: 0MySQL works fine alone or with php.Only thing left me to think is that the installed versions are not compatible for this mysql-connector-java-5.0.4
    I don't believe that could be a reason.
    Installed versions are:
    Apache Tomcat 5.5.20 Server
    Apache HTTP Server 2.2.4
    PHP 5.2.0
    MySQL 5.2
    jre 1.5.0_11
    jdk1.5.0_11
    Apache Tomacat JK2 connector Version: 1.2.20 File Name: mod_jk-apache-2.2.3.so
    mysql-connector-java-5.0.4
    I also set connector in class path: C:\mysql-connector-java-5.0.4;C:\mysql-connector-java-5.0.4\mysql-connector-java-5.0.4-bin.jar;C:\mysql-connector-java-5.0.4\src\com\mysql\jdbc
    For installation I used manulas from:
    http://apacheguide.org/jsp.php
    http://doc.51windows.net/mysql/?url=/MySQL/ch23s03.html
    Here is also a test code in java:
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
       public class Connect
           public static void main (String[] args)
               Connection conn = null;
               try {
        conn =
           DriverManager.getConnection("jdbc:mysql://localhost/first_test" +
                                       "user=monty&password=greatsqldb");
        // Do something with the Connection
    } catch (SQLException ex) {
        // handle any errors
        System.out.println("SQLException: " + ex.getMessage());
        System.out.println("SQLState: " + ex.getSQLState());
        System.out.println("VendorError: " + ex.getErrorCode());
       }i'm desperate, please help or tell me someone who'll know the answer.
    Thank You in advance

    hey buddy .. it seems yr code is wrong .. in getconnection () method u should also specify the port ,which u r not doing ...
    the default port for MySQL is 3306 ... see below i am giving you a sample code ... its working fine .. and dont forget to put the MySQL driver jar path in to classpath and also copy the jar into common/lib folder of your tomcat ....
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class MySQLConnectionTest {
         public static void main(String[] args) {
    new MySQLConnectionTest().connTest();
    public void connTest() {
              String tableName = "portfolio"; //change as per setting
              String hostName = "10.81.9.39"; // please change for the target database ip or hostname
              String dbPort = "3306"; //change if not using the default
              String dbName = "tradingsystem"; //change as per the given DB name
              String username = "root"; //change as per setting
              String password = "password"; //change as per setting
              System.out.println("before try");
              Double data=0.0;
         Double data1=0.0;
              try {
    Class.forName("org.gjt.mm.mysql.Driver");
                   System.out.println("before driver manager");
    Connection conn = DriverManager.getConnection("jdbc:mysql://"+hostName+":"+dbPort+"/"+dbName, username, password);
    String query1 = "select * from "+tableName+" where User_id='trader1' and Stock_Type='Equity'";
    System.out.println("quesry1="+query1);
    Statement stmt = conn.createStatement();
    ResultSet rs1 = stmt.executeQuery(query1);
    while(rs1.next())
         System.out.println("hiiiiii for rs1");
         System.out.println(rs1);
         Quantity=(Integer)rs1.getObject(5);
         MarketPrice=(Double) rs1.getObject(8);
         data=Quantity*MarketPrice;
         data1+=data;
         System.out.println("data1="+data1);
         i=0;
    rs1.close();
    stmt.close();
    conn.close();
    } catch (ClassNotFoundException e) {
    e.printStackTrace(System.err);
    } catch (SQLException e) {
    e.printStackTrace(System.err);
    i hope it will work for u...
    cheers,

  • An error occured when connecting java with Ms Access

    Hello Everybody
    I am a new developer in java and want to connect java with Microsoft Access
    i am using JCreator LE
    My code is to insert 3 records for 3 members and then save them in DB and retrieve the information
    Here is the code
    import java.sql.*;
    public class Project3 {
        public static void main(String[] args) {
             try {
                  System.out.println("Beginning Connection");
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                String accessFileName = "Information";
                String connURL = "jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ="+accessFileName+".mdb;PWD=";
                Connection con = DriverManager.getConnection( connURL ,"","");
                Statement stmt = con.createStatement();
                System.out.println("Connection done successfully");
                stmt.execute("Create table Member(Name String,ID Integer)");
                stmt.execute("insert into Member values ('Joe','1234')");
                stmt.execute(" select * from Member");
                ResultSet rs=stmt.getResultSet();
                if (rs != null)
                     while (rs.next()){
                          System.out.println("Name: "+rs.getString("Name")+ "ID: " + rs.getString("ID"));
                stmt.close();
                con.close();
                catch (Exception e) {
                System.out.println("An error Occurred in Connecting with the DB " );
    }and the error is
    Beginning Connection
    Connection done successfully
    An error Occurred in Connecting with the DB
    it didn't insert information in the DB

    Well, thank u i have traced the error and fx it
    but
    how to modify the code and keep the user entering 3 values and search for the entered values??
    Here is the correct code
    import java.sql.*;
    public class Project3 {
        public static void main(String[] args) {
             try {
                  System.out.println("Beginning Connection");
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                String accessFileName = "jdbc:odbc:Project";
                String connURL = "jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ="+accessFileName+".mdb;PWD=";
                Connection con = DriverManager.getConnection( accessFileName);
                Statement stmt = con.createStatement();
                System.out.println("Connection done successfully");
                stmt.execute("Create table Member(Name String,ID Integer)");
                stmt.execute("insert into Member values ('Joe','1234')");
                stmt.execute(" select * from Member");
                ResultSet rs=stmt.getResultSet();
                if (rs != null)
                     while (rs.next()){
                          System.out.println("Name: "+rs.getString("Name")+ "ID: " + rs.getString("ID"));
                stmt.close();
                con.close();
                catch (Exception err) {err.printStackTrace();}
    }

  • Unable to connect JAVA with Oracle

    I have jdk1.6 and oracle installed on my machine but unable to connect java with database
    have classes12.jar and ojdbc14.jar
    my environmental variables in respect to this are :
    JAVA_HOME= C:\Java\jdk1.6.0_04
    JRE_HOME=C:\Java\jdk1.6.0_04
    PATH=J:\oracle\ora92\lib;
    J:\oracle\ora92\bin;
    C:\Program Files\Oracle\jre\1.3.1\bin;
    C:\Program Files\Oracle\jre\1.1.8\bin
    CLASSPATH=J:\oracle\ora92\jdk\jre\bin\JdbcOdbc.dll;
    J:\oracle\ora92\jdbc\lib\classes12.jar;
    J:\oracle\ora92\jdbc\lib\ojdbc14.jar
    The code is
    import java.sql.*; public class dat1 {               public static void main(String[] args)throws SQLException,ClassNotFoundException {         try     {     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");     Class.forName("com.oracle.jdbc.OracleDriver");     } catch (ClassNotFoundException e) { System.out.println("unable to load driver"); return; }     } }
    the error message is
    Error in thread "main" java.lang.NoClassDefFoundError
    Please Help Me
    Thanks For Reading
    Thanks a lot in Advance For your ANSWERS

    maybe if you asked nicely instead of ordering people around we might tell you.
    As it is all you're going to hear is that you don't need both those jars, as they contain different versions of the same driver.
    I'm not going to tell you which you need, as you should have the documentation to tell you that. But then you also should have the documentation to tell you how to set your classpath properly and you failed to read that too.

  • How to connect java with database without any dsn.

    is there any way to connect java with database with out creating any dsn..like we do in ado in vb by providing provider.

    Sure use a type 4 driver. No DSN.

  • How to connect java with oracle

    can any body show me the code of how to connect java with oracle database.
    thank you

    To configure Oracle JDBC:
    1. Add Oracle JDBC JAR file classes12.zip or ojdbc14.zip to classpath.
    2. Load and register the JDBC driver.
    Class.forName("oracle.jdbc.driver.OracleDriver");
    3. Obtain a connection:
    String url="jdbc:oracle:thin:@<host>:1521:<database>
    Connection con = DriverManager.getConnection(url,
    "myLogin", "myPassword");
    4. Create a SQL statement.
    Statement stmt = con.createStatement();
    5. Obtain a result set.
    ResultSet rs = stmt.executeQuery(
    "SELECT ...");

  • Connect JAVA with ABAP

    Hi,
    I have a requirement in my project to connect Java with ABAP. I want to access ABAP tables from my java application. I am not sure but I think we can use SAP JDBC drivers to do that.
    I found this link to connect JAVA with ABAP  :
    SAP DB JDBC Driver
    My doubt from this link is where can I get the Host Name for the sandbox system I am using and what is the Database Schema name for the tables created using se11.
    Regards,
    Prateek

    Hi
    If you have direct connection to data base then  you can use
    the JDBC driver for the data base that is in use (We have oracle).
    But usually you have to go through the application server this mean you have to use "SAP Java Connector" that connect to SAP using RFC .
    Talk to your basis people.
    Regards.

  • H67A-G43 (B3) - Windows 7 64-bit Install issues with Video Card(s)

    Specs
    Case - CoolerMaster CMP 350 w/500 Watt PSU
    Motherboard - MSI H67A-G43 (B3)
    Processor - Intel i7-2600
    Memory - 16GB (4x4GB) DDR3 1333
    Hard Drive - Western Digital Caviar Green 1TB SATA 2
    Video - *multiple cards tested
    Issue
    OS Installation
    Video Card - ASUS HD 7850 DirectCUII - Computer POSTs, begins to load Windows 7 setup, freezes on the Windows 7 installer background.
    Video Card - GeForce 9300 GE - Computer POSTs, begins to load Windows 7 setup, freezes on the Windows 7 installer background.
    Video Card - MSI N430 GT - Computer does not POST.
    Video Card - Integrated - Computer boots and completes install of Windows 7 64-bit. Install all drivers, update BIOS to current version.  Attempt to boot with video cards listed above with new BIOS, same issues. (First two hang on Windows logo, 3rd no POST.)
    Attempted Resolutions
    As stated, I have tried 3 different video cards, as well as 2 motherboards, both of them MSI H67A-G43(B3).
    We have ordered 2 other new motherboards (one ASUS, one Gigabyte) because we need to get this built for the customer ASAP.  However, we have previously used the H67A-G43 boards with no issues.  We would like to be able to use these motherboards on future builds.  What possible solutions are there for these issues?

    Quote from: HU16E on 20-April-12, 03:32:27
    Tried a battery removed CMOS clear and reset after the UEFI/BIOS update? Tested with another PSU? Tried with just one RAM stick in the primary dimm slot, or with just two sticks?
    Results
    1 Stick DDR3 - Freezes in "Starting Windows" screen when video card (HD 7850) installed.  Still works correctly with Integrated.
    1 Stick DDR3 + swapping out CoolerMaster 500 Watt PSU for "Power" 500 Watt PSU - Freezes in "Starting Windows" screen with video card.  Using Integrated video, works correctly.
    This is on an unflashed H67A-G43 (B3) new out of the box.

  • Connecting java with macromedia shockwave

    I wanna make an application that connect java with macromedia shockwave, for doing example...
    administering a web chat., or a game. I dont wanna sound like a fool a dummy but i think java is safer than macromedia in security aspects.
    I wanna do like a multicap application, macromedia is the visual chat, means people dont have to download all the jre to their computer, and a app in java , in the server that manages the users in the chat, the users permissions, and so. like a better "habbo hotel" chat
    "The goal of Flex is to allow Web application developers to quickly and easily build rich Internet applications. In a multi-tiered model, Flex applications serve as the presentation tier."

    have you tried searching the forums for threads relevant to your problem? There
    are many discussions in the forum regarding this one. :)

  • I had a problem with imac screen going black. apple store diagnosed prob with video card which they replaced. Brought it home, turned it on (have done this 4 times) it starts up, wheel turns, there is a long bar at bottom which fills up, then it turns off

    I had a problem with imac screen going black. apple store diagnosed prob with video card which they replaced. Brought it home, turned it on (have done this 4 times) it starts up, wheel turns, there is a long bar at bottom which fills up, then it turns off

    Apple guarantees their work, take it back.

  • May have a problem with video card

    Hi, I recently purchased my HP Pavilion 500-205t back in September. I haven't replaced anything in it yet. I'm not sure if I really should. I recently discovered that I am unable to watch videos on Youtube. It may sound silly to ask but I've tried everything I could think of to maybe fix my problem (updating flash, java, accepting cookies, clearing cache, restarted computer, tried a different browser, changed video quality, etc). I even made sure my graphics device was up to date on my computer. Nothing works! Is it because I actually need a video card? I assumed the computer actually came with it's own decent video card. I don't know if it's even my graphic card that's the problem. I obviously know nothing about computers so please I need your help!

    Hello @camaya08,
    I understand that you are having issues with your HP Pavilion 500-205t Desktop PC when watching YouTube videos. I would be happy to assist you, but first I would encourage you to post which operating system you are using. And whether your operating system is 32-bit or 64-bit as with this I can provide you with accurate information.
    Which Windows operating system am I running?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    As well if you could describe what happens when you try to watch the YouTube video that would help as well.
    Please re-post with the requested information and I would be happy to provide you with assistance. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • G505 problems with video cards.

    Lenovo G505, 59-419907, AMD A6-5200, AMD Radeon R5 M230
    I suffer second day. I downloaded a lot of different drivers.
    several times reinstalled windows 8.1.
    after installing windows in my Device Manager, there is a Standard VGA Graphics Adapter and unknown video device
    when I try to install vga drivers from the Lenovo site, or from the AMD site, both graphics card become with the error icon 
     - Windows has stopped this device because it has reported problems. (Code 43)
    Catalyst does not see the video card with an error
    if I'm disable in the BIOS a discrete video card everything is OK.
    as soon as I'm in the BIOS to turn on an external video card in the device manager both cards an error.
    I tried to put the first driver on the onboard video card and then on the outside. nothing helps.
    please help me before I killed myself.

    Hi,
    I have a same problem, I bought g505 (bios 3.00) but the wifi not work after few days. I think upgrade the bios, but on the official website was 2.04 version (i not understand, because i have 3.00, i think  "downgrade" it), now my bios is 2.04 but the switchable graphics not work, only other option (i not remember it, maybe UMA) work, and I can't finde the 3.00 bios.
    Thank for the answer, and sorry my English
    Laslie

  • A705w-Trying to Play Call of Duty 2, error with video card

    i get the error message that i dont have the right video card and that the computer hasn't initialized right.
    Can i go out and buy another graphics card that will support the game?  or should i just buy i new computer.  I'd rather just get a graphics card instead of spending a lot of money on a new computer.  I went to the website www.canirunit.com which did let me know if my computer was capable of running COD 2, it said that the CPU speed wasn't fast enough and that my graphics card wasn't good enough. 
    let me know what i should do!

    Thanks Jack Black, but I'm afraid the problem is that my Display Driver is not compatible with DirectX 9.0c. The Call of Duty 2 game installs in my computer the Directx 9.0c application, so I do not need to download the program from Microsoft website. However, in spite of having the Directx 9.0c installed in my laptop, it still does not run because I guess the Display driver should be compatible with the new version of DirectX.

  • I have found a person who has a driver software to connect Labview with PCI card. But he says that i need to download a freeware software to configure the PCI card. But you have mentioned that freeware is for GPIB boards. Is it correct ??

    I have found a person who has a driver software to connect Labview with a general PCI card. But he says that i need to download a freeware software from NI website to configure the PCI card. But you have mentioned that freeware is for GPIB boards. Is it correct ?? Is there any other way out ??

    I would ask the person who told you about the freeware software to help you find exactly where it is. I am not aware of any freeware software for configuring motion PCI cards but maybe the person you know might be able to help you locate it.

  • Help with Video Card Install on Solaris 8

    I have a video card with nvidia4 chipset. After installing solaris 8 on my system I get a screen that is too big to fit on the monitor, so I have to scroll down to see everything. Plus it displays 16 colors. I tried to install the FreeBSD drivers that are availble on the nvidia site but could not run "make" command. Anyone know how to solve this?

    There are two options:
    1. Install the latest Solaris 8 x86 video driver patch109401-14
    available at:
    http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xprod-Solaris_x86IntelDrivers&nav=pub-patches
    This may add native support for your nvidia chipset. If it doesn't,
    then you have the option to try the new VESA driver which is
    included with this patch as well - the VESA driver is supposed to work
    on all cards that have the necessary VESA support bios routines.
    2. Install the "Solaris XFree86 Video Drivers and Porting Kit"
    http://soldc.sun.com/developer/support/driver/tools/video/video-index.html
    It adds support for many video cards by using XFree 4.2.0 video
    driver modules. It also includes another variant of the VESA driver.

Maybe you are looking for