Programming Java 4 a cellphone
Does anyone know what programing language and compiler to use to write a program that will work on a cellphone. I have a cellphone that has a motorcycle game that was supposedly "powered by java".
If I write the program in Java what should I use to compile the code?
Have you tried the Java 2 Platform, Micro Edition (J2ME)??
Similar Messages
-
SAP NetWeaver - Business Programming Java
Hi.
I am new to SAP and see that NetWeaver has three branches. Can anyone please tell me if I were to follow the <a href="https://websmp204.sap-ag.de/~sapidp/011000358700003123382006">SAP NetWeaver - Business Programming Java</a> branch, what type of work in the SAP environment will I be doing?it depends which netweaver module you work into...
1. if you are in UI development you can work on WebDynpro development + Enterprise portal , should also know NetWeaver development infrastructure..
you would typically be working in web enabling of your SAP backend and putting all your work under the secure environment of Enterprise portal..
2. If you are in XI, the there is a combination of XI work + Java development (Mappings / Adapter module development + Adapter Development) you can go for..
3. CAF is one area where you can in addition to pt 1. can work on the development of composites...
in almost all cases, you should be well versed with NWDI as a tool to have a source control system + transport mechanism...
Also...fair knowlegde on SAP WebAS as the application server (like WAS / WLS) would always be an added advantage.. -
Programming Java Games script online internet
Hi
I want to programming Java script Games
The direct Internet
Where can play more than one direct Internet
Such site
Www.koutbo6.com
I want multiple games every game of the room where special Java
I want to open a Web site for integrated Games
I note these games that I want every game in a special room where
This is the Games
1 - Mono Polly
2 - Risk
3 - Uno game
The system friendly games and championships
Since I want a free subscription and other contributions
Do you like these are programmed template
Edited by: kwety on Feb 4, 2008 6:11 PM
nullOooooooooooky, Doky. Here come the men with the little white jackets now.
-
Hi
I have written a program in Java using RMI and it runs perfectly fine on my pc(localhost). But when I run it on the LAN in my office, the client program stucks and I get an exception
***Exception in the main client program: java.rmi.ConnectException: Connection refused to host***
***java.net.ConnectException: Connection timed out: connect***
Do we need to make some settings in the RMI server...or some firewall issue is there...By default port is 1099 as used by RMI registry server
Please help me TIA
vnx_inHi, i am having the same java.rmi.ConnectException, but the problem is that i can't even run it on localhost. I simply can't start my server, and i am getting a problem on Naming.rebind, however i think it could be because i am using an static ip to connect to internet in the LAN of my town. Does it matter in this case. I would be so thankful, because i am not able to solve it after many efforts.
Thanks in Advance :) -
Every time I try to run a java program: Java.lang.ClassNotFoundException?
I downloaded the JDK version 6 successfully for my laptop which runs windows 7 (64bit). I'm trying to run programs that I have successfully run at school on my computer put it doesn't work. I pull up the command prompt and enter javac "program name".java and it compiles fine. Then, when I type java "program name" it gives me the Java.lang.ClassNotFoundException. Can anyone please help me??
Try:
java -cp . ClassNameNote the dot. -
Issue with launching Java Program - Java Library Problem?
I hope this is the right forum, I apologize if it isn't. I am having issues launching a program for a video game that uses java. One of the devs told me to post my issue here, as he doesn't know how much more help he can give with this issue. Using the java -jar command, this is the printout I get:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\vecdran>java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
C:\Users\vecdran>chdir C:\Games\Steam\Steamapps\common\Crysis\mods\mwll\actionma
pper\dist
C:\Games\Steam\steamapps\common\crysis\Mods\mwll\Actionmapper\dist>java -jar Act
ionmapper.jar
Jun 18, 2010 2:25:19 PM org.jdesktop.application.Application$1 run
*SEVERE: Application class mwllactionmapper.MWLLActionmapperApp failed to launch*
*java.lang.NullPointerException*
at javax.swing.ImageIcon.<init>(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFo
lder(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponent
s(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknow
n Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at mwllactionmapper.model.ActionmapsFileModel.getMWLLDocumentsFolder(Act
ionmapsFileModel.java:141)
at mwllactionmapper.model.ActionmapsFileModel.getMWLLProfiles(Actionmaps
FileModel.java:160)
at mwllactionmapper.MWLLActionmapperView.doSelectProfile(MWLLActionmappe
rView.java:603)
at mwllactionmapper.MWLLActionmapperView.<init>(MWLLActionmapperView.jav
a:75)
at mwllactionmapper.MWLLActionmapperApp.startup(MWLLActionmapperApp.java
:21)
at org.jdesktop.application.Application$1.run(Application.java:171)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.Error: Application class mwllac
tionmapper.MWLLActionmapperApp failed to launch
at org.jdesktop.application.Application$1.run(Application.java:177)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at sun.swing.WindowsPlacesBar.<init>(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFo
lder(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponent
s(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknow
n Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown Source)
at javax.swing.JFileChooser.setup(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at mwllactionmapper.model.ActionmapsFileModel.getMWLLDocumentsFolder(Act
ionmapsFileModel.java:141)
at mwllactionmapper.model.ActionmapsFileModel.getMWLLProfiles(Actionmaps
FileModel.java:160)
at mwllactionmapper.MWLLActionmapperView.doSelectProfile(MWLLActionmappe
rView.java:603)
at mwllactionmapper.MWLLActionmapperView.<init>(MWLLActionmapperView.jav
a:75)
at mwllactionmapper.MWLLActionmapperApp.startup(MWLLActionmapperApp.java
:21)
at org.jdesktop.application.Application$1.run(Application.java:171)
... 8 more
C:\Games\Steam\steamapps\common\crysis\Mods\mwll\Actionmapper\dist>As you can see, my Java is completely up to date, and this is the only program I appear to have problems launching. I have no idea what to do from here. :(
PS.
I had to add the Java path to my System -> Environmental Variables -> Path variable, as it was not there from the start, and before adding it command prompt wouldn't recognize java commands. Don't know whether this indicates anything.
Edited by: vecdran on Jun 20, 2010 11:23 AM[Bug ID 4711700|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4711700] is eerily similar to what you're experiencing. Although the bug was reported against an older version of the JDK the last comment provides a workaround to the problem that may be helpful. Good luck.
-
"Java Concurrent Program" java.lang.ClassNotFoundException:
I am creating one Concurrent Program Type "Java Concurrent Program",
I followed steps as notes "250964.1"
Deployed the java file to specific Directory in $JAVA_TOP
Bounce the apache.
I am getting this issue?
java.lang.ClassNotFoundException: oracle.apps.fnd.cp.sample.Hello
at java.net.URLClassLoader.findClass(URLClassLoader.java:376)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
I am not getting this issue OA Framework Classes (CO, AM ....)
Looking for this solution ? This is urgent to me.
Let us know what may be issue?
Thanks, AvaneeshAvaneesh,
What do you mean by "
I am not getting this issue OA Framework Classes (CO, AM ....)"?
Did you test your java code on command line?
--Shiv -
File transfer, read write through sockets in client server programming java
Hello All, need help again.
I am trying to create a Client server program, where, the Client first sends a file to Server, on accepting the file, the server generates another file(probably xml), send it to the client as a response, the client read the response xml, parse it and display some data. now I am successful sending the file to the server, but could not figure out how the server can create and send a xml file and send it to the client as response, please help. below are my codes for client and server
Client side
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
public class XMLSocketC
public static void main(String[] args) throws IOException
//Establish a connection to socket
Socket toServer = null;
String host = "127.0.0.1";
int port = 4444;
try
toServer = new Socket(host, port);
} catch (UnknownHostException e) {
System.err.println("Don't know about host: localhost.");
System.exit(1);
} catch (IOException e) {
System.err.println("Couldn't get I/O for the connection to host.");
System.exit(1);
//Send file over Socket
//===========================================================
BufferedInputStream fileIn = null;
BufferedOutputStream out = null;
// File to be send over the socket.
File file = new File("c:/xampp/htdocs/thesis/sensorList.php");
// Checking for the file to be sent.
if (!file.exists())
System.out.println("File doesn't exist");
System.exit(0);
try
// InputStream to read the file
fileIn = new BufferedInputStream(new FileInputStream(file));
}catch(IOException eee)
System.out.println("Problem, kunne ikke lage fil");
try
InetAddress adressen = InetAddress.getByName(host);
try
System.out.println("Establishing Socket Connection");
// Opening Socket
Socket s = new Socket(adressen, port);
System.out.println("Socket is clear and available.....");
// OutputStream to socket
out = new BufferedOutputStream(s.getOutputStream());
byte[] buffer = new byte[1024];
int numRead;
//Checking if bytes available to read to the buffer.
while( (numRead = fileIn.read(buffer)) >= 0)
// Writes bytes to Output Stream from 0 to total number of bytes
out.write(buffer, 0, numRead);
// Flush - send file
out.flush();
// close OutputStream
out.close();
// close InputStrean
fileIn.close();
}catch (IOException e)
}catch(UnknownHostException e)
System.err.println(e);
//===========================================================
//Retrieve data from Socket.
//BufferedReader in = new BufferedReader(new InputStreamReader(toServer.getInputStream()));
DataInputStream in = new DataInputStream(new BufferedInputStream(toServer.getInputStream()));
//String fromServer;
//Read from the server and prints.
//Receive text from server
FileWriter fr = null;
String frn = "xxx_response.xml";
try {
fr = new FileWriter(frn);
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
try{
String line = in.readUTF(); //.readLine();
System.out.println("Text received :" + line);
fr.write(line);
} catch (IOException e){
System.out.println("Read failed");
System.exit(1);
in.close();
toServer.close();
public class XMLSocketS
public static void main(String[] args) throws IOException
//Establish a connection to socket
ServerSocket serverSocket = null;
try {
serverSocket = new ServerSocket(4444);
} catch (IOException e) {
System.err.println("Could not listen on port: 4444.");
System.exit(1);
Socket clientLink = null;
while (true)
try
clientLink = serverSocket.accept();
System.out.println("Server accepts");
BufferedInputStream inn = new BufferedInputStream(clientLink.getInputStream());
BufferedOutputStream ut = new BufferedOutputStream(new FileOutputStream(new File("c:/xampp/htdocs/received_from_client.txt")));
byte[] buff = new byte[1024];
int readMe;
while( (readMe = inn.read(buff)) >= 0)
{ //reads from input stream, writes the file to disk
ut.write(buff, 0, readMe);
// close the link to client
clientLink.close();
// close InputStream
inn.close();
// flush
ut.flush();
// close OutputStream
ut.close();
//Sending response to client
//============================================================
//============================================================
System.out.println("File received");
}catch(IOException ex)
{System.out.println("Exception.");}
finally
try
if (clientLink != null) clientLink.close();
}catch(IOException e) {}
clientLink.close();
//serverSocket.close();
}SERVER
import java.net.*;
import java.io.*;
public class XMLSocketS
public static void main(String[] args) throws IOException
//Establish a connection to socket
ServerSocket serverSocket = null;
try {
serverSocket = new ServerSocket(4545);
} catch (IOException e) {
System.err.println("Could not listen on port: 4444.");
System.exit(1);
Socket clientLink = null;
try
clientLink = serverSocket.accept();
System.out.println("Server accepts the client request.....");
BufferedInputStream inn = new BufferedInputStream(clientLink.getInputStream());
BufferedOutputStream ut = new BufferedOutputStream(new FileOutputStream(new File("c:/xampp/htdocs/received_from_client.txt")));
byte[] buff = new byte[1024];
int readMe;
while( (readMe = inn.read(buff)) >= 0)
{ //reads from input stream, writes the file to disk
ut.write(buff, 0, readMe);
ut.flush();
//Sending response to client
//============================================================
BufferedInputStream ftoC = null;
BufferedOutputStream outtoC = null;
// File to be send over the socket.
File file = new File("c:/xampp/htdocs/thesis/user_registration_response.xml");
try
// InputStream to read the file
ftoC = new BufferedInputStream(new FileInputStream(file));
}catch(IOException eee)
{System.out.println("Problem reading file");}
// OutputStream to socket
outtoC = new BufferedOutputStream(clientLink.getOutputStream());
byte[] buffer = new byte[1024];
int noRead;
//Checking if bytes available to read to the buffer.
while( (noRead = ftoC.read(buffer)) >= 0)
// Writes bytes to Output Stream from 0 to total number of bytes
outtoC.write(buffer, 0, noRead);
outtoC.flush();
//============================================================
System.out.println("File received");
}catch(IOException ex)
{System.out.println("Exception.");}
finally
try
if (clientLink != null) clientLink.close();
}catch(IOException e) {}
clientLink.close();
//serverSocket.close();
}CLIENT SIDE
import java.io.*;
import java.net.*;
public class XMLSocketC
@SuppressWarnings("deprecation")
public static void main(String[] args)
// Server: "localhost" here. And port to connect is 4545.
String host = "127.0.0.1";
int port = 4545;
BufferedInputStream fileIn = null;
BufferedOutputStream out = null;
// File to be send over the socket.
File file = new File("c:/xampp/htdocs/thesis/sensorList.xml");
try
// InputStream to read the file
fileIn = new BufferedInputStream(new FileInputStream(file));
}catch(IOException eee)
{System.out.println("Problem");}
try
System.out.println("Establishing Socket Connection");
// Opening Socket
Socket clientSocket = new Socket(host, port);
System.out.println("Socket is clear and available.....");
// OutputStream to socket
out = new BufferedOutputStream(clientSocket.getOutputStream());
byte[] buffer = new byte[1024];
int numRead;
//Checking if bytes available to read to the buffer.
while( (numRead = fileIn.read(buffer)) >= 0)
// Writes bytes to Output Stream from 0 to total number of bytes
out.write(buffer, 0, numRead);
// Flush - send file
out.flush();
//=======================================
DataInputStream in = new DataInputStream(new BufferedInputStream(clientSocket.getInputStream()));
BufferedWriter outf = new BufferedWriter(new FileWriter("c:/xampp/htdocs/received_from_server.txt",true));
String str;
while(!(str = in.readLine()).equals("EOF")) {
System.out.println("client : Read line -> <" + str + ">");
outf.write(str);//Write out a string to the file
outf.newLine();//write a new line to the file (for better format)
outf.flush();
//=======================================
// close OutputStream
out.close();
// close InputStrean
fileIn.close();
// close Socket
clientSocket.close();
}catch (IOException e)
{System.out.println("Exception.");}
Could you please point where am I doing the stupid mistake, client to server is working properly, but the opposite direction is not.
Thanks -
SQL Server, ETA Accounting Program, Java Report Program
I have an Accouting Program in my firm called ETA. She uses SQL Server.
I tried to connect it with jdt packet, but it did not work.
I tried to connect it with microsoft's packet, but it did not work.
I tried to connect it with configuring ODBC-SQLServer then JDBC-ODBC, the it worked.
I tried to sniff some data with
SELECT "+cn[0]+", "+cn[1]+" FROM "+tn+" WITH (NOLOCK) ORDER BY "+cn[0]
where
cn[0]="MUHKOD";
cn[1]="MUHADI1";
tn="MUHHESAP";
it worked
I tried to sniff some data with
"SELECT "+cn[0]+", "+cn[1]+" FROM "+tn+" WITH (NOLOCK) ORDER BY "+cn[0]
where
cn[0]="MUHKOD";
cn[1]="MUHADI1";
tn="MUHHESAP";
it worked
I tried to sniff some data with
"SELECT "+cn[0]+", "+cn[1]+", "+cn[2]+", "+cn[3]+" FROM "+tn+" WITH (NOLOCK) ORDER BY "+cn[0];
where
cn[0]="STKKOD";
cn[1]="STKCINSI";
cn[2]="STKBAKIYE";
cn[3]="STKBIRIM";
tn="STKKART";
it worked
Now I want to try another sqlCommand that ETA uses and works on my java program:
SELECT MUHHARTAR AS 'Tarih', MUHHARNO AS 'Fiş No', MUHHARACIKLAMA AS 'Açıklama', 'T' = CASE WHEN MUHHARBATIPI=1 THEN 'B' ELSE 'A' END, MUHHARTUTAR AS 'Tutar',MUHHARDOVKOD AS 'Döviz Kodu', MUHHARDOVTUR AS 'Döviz Türü', MUHHARDOVTUTAR AS 'Döviz Tutarı', MUHHARREFNO AS 'Fiş Ref.No',MUHHARYEVNO AS 'Yevmiye No', MUHFTKOD AS 'Fiş Cinsi' FROM MUHHAR WITH(NOLOCK) LEFT JOIN MUHFISTIP WITH(NOLOCK) ON MUHHAR.MUHHARCINSI=MUHFISTIP.MUHFTNO WHERE MUHHARMUHKOD=:MUHKOD ORDER BY MUHHARTAR,MUHHARREFNO,MUHHARSIRANO
but it returns
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ':'.
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3110)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:338)
at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:253)
at com.tugalsan.libraries.io.sql.TK_SQLQuery.<init>(TK_SQLQuery.java:62)
at com.tugalsan.libraries.io.sql.TK_SQLQuery.<init>(TK_SQLQuery.java:47)
at com.tugalsan.libraries.io.sql.TK_SQLConnection.executeQuery(TK_SQLConnection.java:70)
at javaapplication2.Main.main(Main.java:17)
could anyone help me? I could not find what it means =: on an sql statement and have no idea why it does not works.I do not see anything related to ':' charactter in Prepared Statements, whowever, as you said it might be refer to '?' character, as this:
SELECT * FROM MUHHAR WITH(NOLOCK) LEFT JOIN MUHFISTIP WITH(NOLOCK) ON MUHHAR.MUHHARCINSI=MUHFISTIP.MUHFTNO WHERE MUHHARMUHKOD=?MUHKODI did a dig in for the possibility of below expression:
SELECT * FROM MUHHAR WITH(NOLOCK) LEFT JOIN MUHFISTIP WITH(NOLOCK) ON MUHHAR.MUHHARCINSI=MUHFISTIP.MUHFTNO WHERE someTableNameA.MUHHARMUHKOD=someTableNameB.MUHKODI dig in to database and search for a table with column name MUHKOD; and I could not able to find one.
However I find these:
table name > column name (ends with 'MUHKOD')
BANKAHAR > BANHARKARMUHKOD
BANKAHAR > BANHARMASMUHKOD
BANKAHAR > BANHARSTPMUHKOD
BANKAHAR > BANHARFONMUHKOD
BORMUHGRUP > BMGMUHKOD
CARGRUP > CARGRPMUHKOD
CARHAR > CARHARMUHKOD
CARMUHGRUP > CMGMUHKOD
DEMMUHGRUP > DMGMUHKOD
DEMMUHHESAP > DMHMUHKOD
FATHAR > FATHARMUHKOD
GELGIDMUHBAG > GENGELMUHKOD
GELGIDMUHBAG > GENGIDMUHKOD
HIZMET > HIZMUHKOD
HIZMET > HIZMALMUHKOD
HIZMET > HIZYANMUHKOD
INDIRIM > INDMUHKOD
IRSHAR > IRSHARMUHKOD
KASAHAR > KASHARMUHKOD
KASAHAR > KASHARMAKKDVMUHKOD
KASAHAR > KASHARMAKSTPMUHKOD
KASAHAR > KASHARMAKFONMUHKOD
MASRAF > MASMUHKOD
MBOKART > MBOMEMUHKOD
MUH4YILSONU > YSMUHKOD
MUHHAR > MUHHARMUHKOD
MUHHARIPTAL > MUHHARMUHKOD
MUHHESAP > MUHKOD
MUHKDVORAN > MUHKDVMUHKOD
MUHMIZDEGER > MUHKOD
URTGIDER > GIDMUHKOD
URTHAR > URTHARFIREMUHKOD
URTRECDETAY > RECDETFIREMUHKODAs I am dealing with the statement below:
SELECT * FROM MUHHAR WITH(NOLOCK) LEFT JOIN MUHFISTIP WITH(NOLOCK) ON MUHHAR.MUHHARCINSI=MUHFISTIP.MUHFTNO WHERE MUHHARMUHKOD=?MUHKODthe referred table name can only be MUHHAR, MUHFISTIP
Then I strip down the these two tables as below:
table name > column name (ALL)
MUHFISTIP > MUHFTMODUL
MUHFISTIP > MUHFTNO
MUHFISTIP > MUHFTKOD
MUHFISTIP > MUHFTACIKLAMA
MUHFISTIP > MUHFTONAY
MUHFISTIP > MUHFTEVRAKNO
MUHFISTIP > MUHFTDIZDOS
MUHFISTIP > MUHFTISLGUN
MUHHAR > MUHHARTAR
MUHHAR > MUHHARREFNO
MUHHAR > MUHHARSIRANO
MUHHAR > MUHHARMUHKOD
MUHHAR > MUHHARACIKLAMA
MUHHAR > MUHHARBATIPI
MUHHAR > MUHHARTUTAR
MUHHAR > MUHHARDOVKOD
MUHHAR > MUHHARDOVTUR
MUHHAR > MUHHARDOVTUTAR
MUHHAR > MUHHARMASMER
MUHHAR > MUHHAREVRAKNO
MUHHAR > MUHHAROZELKOD
MUHHAR > MUHHARACIKLAMA1
MUHHAR > MUHHARACIKLAMA2
MUHHAR > MUHHARACIKLAMA3
MUHHAR > MUHHARMIKTUT
MUHHAR > MUHHARNO
MUHHAR > MUHHARCINSI
MUHHAR > MUHHARYEVNO
MUHHAR > MUHHARKAYITONC
MUHHAR > MUHHAROZELFLAG
MUHHAR > MUHHARKAYNAK
MUHHAR > MUHHARMATATEFLAG
MUHHAR > MUHHAREKCHAR1
MUHHAR > MUHHAREKCHAR2
MUHHAR > MUHHAREKINT1
MUHHAR > MUHHAREKINT2
MUHHAR > MUHHAREKDATE1
MUHHAR > MUHHAREKDATE2
MUHHAR > MUHHAREKTUT1
MUHHAR > MUHHAREKTUT2
MUHHAR > MUHHAREKMIK1
MUHHAR > MUHHAREKMIK2
MUHHAR > MUHHAREKDOVTUT1
MUHHAR > MUHHAREKDOVTUT2
MUHHAR > MUHHAREKORAN1
MUHHAR > MUHHAREKORAN2
MUHHAR > MUHHARDOVKUR
MUHHAR > MUHHAREVRAKTARThere I wanted to say that on 'MUHHARMUHKOD=:MUHKOD' expresion, MUHHARMUHKOD should equals MUHHAR.MUHHARMUHKOD and MUHKOD equals to MUHFISTIP.somethingMUHKOD.
But there is to column name that ends with MUHKOD in MUHFISTIP table.
There I start to think, it is not a Prepared Statement and ':' is not '?' but sth else... But What ? -
Can't Run Java Programs -- java.lang.NoClassDefFoundError Error
I am running 10.4.11. For some reason I can no longer run Java programs. (I could in the past)
For example. I create a simple Hello World program as follows and save it as Hello.java:
class HelloWorld
public static void main (String args[])
System.out.println("Hello, world!");
Then I compile it:
Javac Hello.java
Then I try to run it:
java Hello
But I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: Hello
I think it must be a CLASSPATH problem but normally you do not need to worry about ClassPATH. Apple sets it up for you out of the box.
What is wrong?I totally forgot that the class name should be the same as the filename.
After I renamed the file to HelloWorld.java and recompiled, I could run "java HelloWorld"
Rob -
Hello Dear Java Forums Team I'am Alfonso Franco who is reporting my socket program
as http://www.javaworld.com without a port number assigned only the Input of www.javaworld.com more the following Code: System.out.printIn( " Enter a Host Name: ", + name) ;
System.out.printIn( " Enter pin code number device: " + device) ;
System.out.printIn( " Ours server is detecting a successfull connection " ) ;
System.out.printIn( " Ours server sorry detect error didn't match name and number ") ;
Please I'am looking for someone who will help me with my question is really this socket program works correctly if not give more reference to do it's improved . Thank you Team
Alfonso Franco
[email protected]Remove "if (input.ready())". readLine() will block, consuming zero cpu, until it gets data, EOF or an IOException.
I've been programming sockets since mid-80's and I've never used something like socket.ready(). The normal way to do sockets is either to read() / readLine() or to select() / poll(). ready(), available() and such should come with big blinking warning labels. -
Developing Reverse Engineering Program -- JAVA to UML what needed
Hi there,
I am wondering why people want to develop reverse engineering?? it is useful? but developing the reverse Engineering sound interesting for me.
Anyway I just intend to figure out how to develop a reverse Engineering program FROM java to UML diagram. Which create Use cases, class and sequence diagram. Is that possible??
what kinds of Knowledge I need to know in order to develop reverse Engineering. Is there any tutorial that can teach me on how the Reverse Enginneering works?
Does Reverse Enginneering check words by words in order to develop the program?
That all...Hi,
You need a parser, like ANTLR, plus a java grammar for that parser (antlr has one). You need a uml model implementation like MDR, EMF or the obsolete NSUML. You need a diagramming library like GEF or JGraph. With those 3 components you could build your own r.e. tool. search google for urls.
you're interested in the subject so try to read http://citeseer.nj.nec.com/545406.html and related papers.
you'll need to understand the java language specification (java.sun.com), JSR26 (jcp.org) [a std mapping from java to uml], and the uml metamodel (download the specification from www.omg.org).
many reverse engineering scenarios are possible, although not all tools have found time to implement them.
eg. java class -> class diagram
java method -> sequence diagram
I don't know of any tutorials. But you could look at the implementation of ArgoUml (argouml.tigris.org) and ask questions on the developer mailing list.
That should keep you busy for the rest of the year... -
Oracle Database 2003 Beta Program: Java features
We are currently recruiting for the Oracle Database 2003 Beta Program, including new Java in the database features. To learn more about this program, including how to apply, send e an email @ [email protected]
Kuassi MensahHi, I intend to enroll for the Oracle BI 10G course, and need to study and see what are the eligibility criteria for it?
Would appreciate if you can get back directly on my email [email protected]
Intending to enroll and study for this . Thanks for your help
Abhishek -
hi!
i try to execute *.java using the command line java *.class
usually i find this error
Exception in thread "main" java.lang.NoClassDefFoundError: workspace/freespace/os/class.
the compilation is done correctly(no error).
the class os exit and it is correctly specified
i 'am using eclipse3.2
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode)
using the graphical interface of eclipse the execution is done correctly.
i need to execute it using the command line what can i do?
i need help
thanths a lot
some one helpThat's not how you execute java programs.
You don't type java *.class
You type java ClassName where ClassName is the name
for your primary class (you know, the class that contains the "public static void main" method) -
What do I need to program Java?
A few years ago I learnt Java at univeristy. Since then I have forgotten most of what I learnt. I now intend to relearn it all but the technology has moved on so fast! What do I need installed on my computer so that I can write Java code and also compile and run it?
Thanks in advance!Here are some helpful links:
Free Tutorials and Such
Installation Notes - JDK 5.0 Microsoft Windows (32-bit)
Your First Cup of Java
The Java? Tutorial - A practical guide for programmers
New to Java Center
Java Programming Notes - Fred Swartz
How To Think Like A Computer Scientist
Introduction to Computer science using Java
The Java Developers Almanac 1.4
Object-Oriented Programming Concepts
Object-oriented language basics
Don't Fear the OOP
Free Java Books
Thinking in Java, by Bruce Eckel (Free online)
Core Servlet Programming, by Merty Hall (Free Online)
More Servlets, by Marty Hall (Free Online)
A Java GUI Programmer's Primer
Data Structures and Algorithms
with Object-Oriented Design Patterns in Java, by Bruno R. Preiss
Introduction to Programming Using Java, by David J. Eck
Advanced Programming for the Java 2 Platform
The Java Language Specification
Books:
Head First Java, by Bert Bates and Kathy Sierra
Core Java, by Cay Horstmann and Gary Cornell
Effective Java, by Joshua Bloch
Have fun
JJ
Maybe you are looking for
-
Preview Highlight "Garbage" characters
I have a fairly strange issue. I am using Mac BookPro 15 Retina, OS X 10.9.4 (latest update check 16.Jul.14), using Preview app version 7.0 (826.4). I use Preview for reading all my PDF'es. And I highlight the text, underline, draw speech bubbles, ar
-
External monitor resolution setting is not saved
I use an external monitor as an extended desktop for my macbook pro. The problem is that whenever I turn on the mbp, the resolution of the external monitor reverts back to the default resolution. Is there any way to set the resolution of the external
-
Material Issued from other Plants
Hi All, I have 2 question here. I have created a STPO with delivery date say 12.09.2009 from my plant ABC to the Plant XYZ and 140 qty, For this XYZ plant has issued material on 15.09.2009 around 100 qty., Now I am looking for the report ME2W to find
-
How to perform auto update in staging database using warehouse builder ?
Hi , here our client requirement is? our client want to transfer data from their production database to staging database using warehouse builder.and also what ever the update occur in production database that must be reflected in staging database. he
-
Is there a way in JDeveloper to modify the code in a debug session and have the container re-load it automatically instead of having to re-start the debug session. Any insight will be greatly appreciated.