Hi could someone help me with this basic issue ..
'sql*plus' is not recognized as an internal or external command,
operable program or batch file.
I have installed expression addition for practice on a win xp OS it was working fine but now this is the error when , I am trying to start the data base.
checked the environmental variables they seem to be ok but still no progress .
Thanks,
Max
Hi,
In hurry are you typing sql*plus instead of sqlplus?
you could go to <oracle-home>/bin directory and run (ex: C:\oraclexe\app\oracle\product\11.2.0\server\bin\sqlplus.exe)
Regards
Yoonas
Similar Messages
-
Whenever I send a message to another iPhone user via iMessage it is sending my Apple ID instead of my phone number. Could someone help me with this???
Check this article: iOS: About Messages
Additional Information
You can change your iMessage Caller ID setting on iOS devices in Settings > Messages > Receive At > Caller ID. Note that the Caller ID setting is used only for new conversations. If you would like to change the address from which messages are sent, first change your Caller ID, and then delete the existing conversation and start a new one.
iMessage responses will be sent from the address the recipient most recently messaged. For example, on iPhone you can receive messages sent to your Apple ID and phone number. A friend sends you a message to your Apple ID. Responses in this conversation will be sent from your Apple ID, even if your Caller ID is set to your phone number. -
yesterday for the first time i turned on my macpro 2011 model and i got a crazy gray screen with lines all over it ,so i held down the power button and turn off then restarted and all was ok could someone help me with this,what caused this shut down. werd
Are the lines like psychedelic herringbone? If yes, I had that happen once, it was something serious, like the
Logic board. The good news is that it was fixed without any loss of data on the hard drive. Take it in to have Apple look at it ASAP. I took it to TekServe at the time, they are very nice about preserving your data and user library when possible.
Good luck and don't panic. -
Could someone help me with this code??
Hi!, I am really poor at Java, and was given this piece of code to fix. I have no idea why this compiles but does not run and have never dealt with packages either, so I would really appreciate it if someone could tell me what I could do to fix it!!
package Arrays;
import java.awt.*;
import java.awt.event.*;
* This class demonstrates a simple application
* A rather primitive ATM machine (needs work)
* Quite similar to the CashRegister Applet
public class VirtualATM extends Frame implements ActionListener
// the "screen"
TextArea display = new TextArea(8, 20);
// some local variables
private String current = new String("");
private double amount = 0d;
private double balance = 5000.0;
private int opCode;
// op code constants
static final int PINENTRY = 0;
static final int DEPOSIT = 1;
static final int WITHDRAWAL = 2;
// button labels - an array
String [] btnLabels =
"1", "2", "3", "Deposit",
"4", "5", "6", "Withdraw",
"7", "8", "9", "New Customer",
"0", ".","Enter","Quit"
* Default constructor
public VirtualATM()
super();
* Constructor with frame title
public VirtualATM(String title)
super(title);
setSize(400, 400);
// inner class to detect window closing and make sure
// quit method is executed before exit, not vital in
// this case but a good habit to get into
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
quit();
// set up the display
int nButtons = btnLabels.length;
Panel keypad = new Panel();
keypad.setLayout(new GridLayout(4, 4, 5, 5));
Button[] keys = new Button[nButtons];
for (int i = 0; i < nButtons; i++)
keys[i] = new Button(btnLabels);
keypad.add(keys[i]);
keys[i].addActionListener(this);
keys[i].setActionCommand(btnLabels[i]);
setLayout(new GridLayout(2, 1, 10, 10));
display.setEditable(false);
add(display);
add(keypad);
setVisible(true);
startup();
* Check the button presses
public void actionPerformed(ActionEvent e)
String command = e.getActionCommand();
char com = command.charAt(0);
// see if the character is part of a number:
if ((com >= '0') && (com <= '9') || (com == '.'))
doNumber(com);
else
// check here for function buttons
switch (com)
case 'D' :
current = "";
deposit();
break;
case 'W' :
current = "";
withdraw();
break;
case 'N' :
startup();
break;
case 'E' :
processOperation();
break;
case 'Q' :
quit();
break;
* This method prompts for a deposit
public void deposit()
opCode = DEPOSIT;
display.append("\nPlease enter amount to deposit: ");
* This method processes number button presses
* Could add PIN validation
public void doNumber(char com)
current += com;
if (opCode == PINENTRY)
display.append("*");
else
display.append("" + com);
* This method does the processing!
public void processOperation()
amount = toDouble(current);
switch (opCode)
case PINENTRY :
display.setText("Please choose a transaction");
break;
case DEPOSIT :
if (amount > 0.0)
balance += amount;
display.setText("Thank you, your new balance is: " + balance);
else
display.setText("You cannot deposit " + amount);
break;
case WITHDRAWAL :
if (amount <= balance)
balance -= amount;
display.setText("Thank you, your new balance is: " + balance);
else
display.setText("You cannot withdraw " + amount);
break;
* This method quits
public void quit()
System.exit(0);
* This method sets up for a new customer
public void startup()
display.setText("Welcome to Virtual Banking with VOB\n\n");
display.append("Please enter your PIN: ");
amount = 0.0;
current = "";
balance = 5000.00;
opCode = PINENTRY;
* converts a string to a double
private double toDouble(String s)
double theValue = -1.0;
try
if (s != "")
Double d = new Double(s);
theValue = d.doubleValue();
catch (NumberFormatException n)
current = "";
finally
return theValue;
* This method prompts for a withdrawal
public void withdraw()
opCode = WITHDRAWAL;
display.append("\nPlease enter amount to withdraw: ");
class main{
* Initialises the Application
* Creation date: (07-Dec-00 23:10:49)
public static void main(String[] args)
VirtualATM myATM = new VirtualATM("Virtual Overseas Bank");That sounds like a path or classpath issue issue. There are some instructions here for windows systems...
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html
Basically you want to set your path to where your java.exe file is.
You can probably run it like this though (if you are in the dir where your ATM class is and you put the path where your jdk is installed):
D:\jdk1.3\bin\java VirtualATM
Here is the code, changed (note that this forum tends to screw up the code a little):
package Arrays;
import java.awt.*;
import java.awt.event.*;
* This class demonstrates a simple application
* A rather primitive ATM machine (needs work)
* Quite similar to the CashRegister Applet
public class VirtualATM extends Frame implements ActionListener
// the "screen"
TextArea display = new TextArea(8, 20);
// some local variables
private String current = new String("");
private double amount = 0d;
private double balance = 5000.0;
private int opCode;
// op code constants
static final int PINENTRY = 0;
static final int DEPOSIT = 1;
static final int WITHDRAWAL = 2;
// button labels - an array
String [] btnLabels =
"1", "2", "3", "Deposit",
"4", "5", "6", "Withdraw",
"7", "8", "9", "New Customer",
"0", ".","Enter","Quit"
* Default constructor
public VirtualATM()
super();
* Constructor with frame title
public VirtualATM(String title)
super(title);
setSize(400, 400);
// inner class to detect window closing and make sure
// quit method is executed before exit, not vital in
// this case but a good habit to get into
addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e)
quit();
// set up the display
int nButtons = btnLabels.length;
Panel keypad = new Panel();
keypad.setLayout(new GridLayout(4, 4, 5, 5));
Button[] keys = new Button[nButtons];
for (int i = 0; i < nButtons; i++)
keys[i] = new Button(btnLabels);
keypad.add(keys[i]);
keys[i].addActionListener(this);
keys[i].setActionCommand(btnLabels[i]);
setLayout(new GridLayout(2, 1, 10, 10));
display.setEditable(false);
add(display);
add(keypad);
setVisible(true);
startup();
* Check the button presses
public void actionPerformed(ActionEvent e)
String command = e.getActionCommand();
char com = command.charAt(0);
// see if the character is part of a number:
if ((com >= '0') && (com <= '9') || (com == '.'))
doNumber(com);
else
// check here for function buttons
switch (com)
case 'D' :
current = "";
deposit();
break;
case 'W' :
current = "";
withdraw();
break;
case 'N' :
startup();
break;
case 'E' :
processOperation();
break;
case 'Q' :
quit();
break;
* This method prompts for a deposit
public void deposit()
opCode = DEPOSIT;
display.append("\nPlease enter amount to deposit: ");
* This method processes number button presses
* Could add PIN validation
public void doNumber(char com)
current += com;
if (opCode == PINENTRY)
display.append("*");
else
display.append("" + com);
* This method does the processing!
public void processOperation()
amount = toDouble(current);
switch (opCode)
case PINENTRY :
display.setText("Please choose a transaction");
break;
case DEPOSIT :
if (amount > 0.0)
balance += amount;
display.setText("Thank you, your new balance is: " + balance);
else
display.setText("You cannot deposit " + amount);
break;
case WITHDRAWAL :
if (amount <= balance)
balance -= amount;
display.setText("Thank you, your new balance is: " + balance);
else
display.setText("You cannot withdraw " + amount);
break;
* This method quits
public void quit()
System.exit(0);
* This method sets up for a new customer
public void startup()
display.setText("Welcome to Virtual Banking with VOB\n\n");
display.append("Please enter your PIN: ");
amount = 0.0;
current = "";
balance = 5000.00;
opCode = PINENTRY;
* converts a string to a double
private double toDouble(String s)
double theValue = -1.0;
try
if (s != "")
Double d = new Double(s);
theValue = d.doubleValue();
catch (NumberFormatException n)
current = "";
finally
return theValue;
* This method prompts for a withdrawal
public void withdraw()
opCode = WITHDRAWAL;
display.append("\nPlease enter amount to withdraw: ");
* Initialises the Application
* Creation date: (07-Dec-00 23:10:49)
public static void main(String[] args)
VirtualATM myATM = new VirtualATM("Virtual Overseas Bank"); -
My code:
<%@ include file="../setupcache.jsp"%>
<%
if(connectionPool_dig==null){
%>
<p>Could not connect to database. Please try again, thank!</p>
<%
return ;
Connection con = connectionPool_dig.getConnection();
if(con==null){
%>
<p>Could not connect to database. Please try again, thank!</p>
<%
return;
String file = request.getParameter("m_FILE");
file = "a";
String sql = " SELECT *"+
" FROM "+
" FILEUPLOAD, SUBJECT"+
" WHERE "+
" FILEUPLOAD.SUBJECTCODE = SUBJECT.CODE AND UPPER(FILEUPLOAD.FILENAME) LIKE(UPPER(?))";
PreparedStatement stmt = con.prepareStatement(sql);
stmt.setString(1,"%"+file+"%");
ResultSet rs = stmt.executeQuery();
while(rs.next()){
out.println("<br>"+rs.getString(1));
out.println("<br>"+rs.getString(2));
out.println("<br>"+rs.getString(3));
out.println("<br>"+rs.getString(4));
rs.close();
stmt.close();
try{
con.close();
}catch(SQLException e){}
%>
it usualy generate that error (once wrong then right then wrong....), but if I don't close connection (con.close), it work well. Could some one help me!Hi,
I think that it should be better that returning the Connection
instance back to the Connection Pool. The connection
should not be close by you. it should controlled by the
connection pool mechanism. So I think that you should
check out your connection pool usage document for the
right usage.
If your code is the case, the connection in connection
pool will get less and your connection pool mechanism
may need to reallocate a new one for application. I
don't think that it is right.
good luck,
Alfred Wu -
I would like to change the owners name on my ipad2 to my daughters name and credit. Could someone help me figure this out?
Sign out from Find My Phone in iCloud, and sign out from your Apple ID in Settings/iTunes & App Store
Then setup as a new phone with iTunes and when your Daughter sets it up for the first time she can add or set up her own Apple ID.
Cheers
Pete -
Could someone help me with instructions for doing a clean install for Could someone help me with instructions for doing a clean install for an early 2009 iMac 20" with Mountain Lion 10.8.4 ?
Thank You,
leetruittBarney, William, nbar, Galt\'s Gulch:
A nephew stayed with us to take a course at the local community college last semester. I allowed him use of my mac for research just after I installed Mountain Lion. He decided to "help out" and ran a 3rd party clean and tune up app., Magician. The tune up wiped over 1200 titles of my music in iTunes, also a path of folders with names containing nothing but more empty folders with names. Almost every program I open and run for a short time crashes, also folders and programs are in wrong places, or cannot be located (the nephew, for instance). Up to this time I have always been able to track a problem far enough to resolve it by careful persistence and good luck, but I do not have the tech savvy to solve this one without getting in deeper. I have run disk utility saveral times and always get variations of this:
ACL found but not expected on
"private/etc/resolve.conf"
"private/etc/raddb/sites-enabled/inner-tunnel"
"private/etc/rabbd/sites-enabled/control-socket"
Also, after four years of intense daily use it is cluttered with much junk, and every app that I was curious about, and I am a very curious guy.
So I know my limits, (and now my nephew). I dumped my pc for a Strawberry iMac a few years ago, and so far every problem I've encountered, or brought on myself, the Mac has resolved with its own inner elegance - in spite of my novice bungels - and now I honestly feel ashamed, in addition to the need to apologize to a machine for allowing a peasant into the Royal Grounds - so I am calling the Wise Ones in for this one.
Crazy, I know, but to me a Mac represents something far beyond the ordinary input ➛ process ➛ output title/function customarily assigned to a machine - I sense an odd kind of morality involved, one that I need to respect.
So, these are my reasons for wanting to do a clean install, correctly.
Thank you, Truitt -
Could someone help me with comparing the contents of 2 folders?
I'm trying to compare my iTunes music folder which is located in it's default location with a external USB hard drive. I was reading this article on how to do it using Terminal but I have NO CLUE on what to type in the command line. I'm clueless on this! Could someone help me with the commands I need to compare the 2 folders? I've included the link about what I'm trying to accomplish.
http://www.macworld.com/article/132219/2008/02/termfoldercomp.htmlI tell you how. But remember that Terminal isn't a good place to be kicking around if you're not sure of what your doing. You can issue many commands as root that are irreversible. Tread very carefully, or get yourself a good GUI utility that can do that.
It's asking you to cd (change directory to the folder that your files for comparison are in.
So, you type, cd (leave a space) then you can just drag the folder to the Terminal and it will fill in the rest of the path.
Then press Return
Then type this at the prompt:
diff -rq folder1 folder2
(replacing "folder1 folder2 with the name of your folders. Leave spaces where indicated.
Press return.
-mj -
I have iOS 7. When I go to the itunes store on my ipod touch it gives me a blank screen with nothing on it. I restarted my ipod touch and it didn't work. Can someone help me with this?
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Go to Settings>iTunes and App stores and sign out and sign back in
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device. -
The calender on my iPhone 4 with iOS 6 no longer syncs with iCal 4.0.4 on my mac OS 10.6.8. However it is syncing with my iCloud account. Can someone help me with this?
FYI: It seems it was a network problem with my WinXP PC. After complete deletion and new installation of XP and iTunes my iPhone will be recognized correctly, Wifi synchronization works (mostly) fine.
-
I have a problem with my blackberry 9360, I bought it last 2months, and now when I use video camera or camera I saw a red and blue line. Can someone help me with this issue?
Hello zukafu,
Welcome to the forums.
In this case we can try to reload the software on the BlackBerry® smartphone to make sure it is running the latest version and there are no issues with the OS.
Here is how to backup your BlackBerry smartphone http://bbry.lv/oPVWXc
Once you have backed up your BlackBerry smartphone please follow the link below to complete a clean reload of the BlackBerry smartphone software.
Link: http://www.blackberry.com/btsc/KB03621
Once completed test it and proceed with a selective restore, here is how to restore http://bbry.lv/qgQxLo
Thank you
-SR
Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)! -
I have followed the instructions to update Flash Player, the Installation Fails at about 90%, it says that there is an Application running (Safari) and it says to close all the apps. and start again ... but I already close all the Applications ... none is running ... can someone help me with this issue ??? Thanks ...
Dear Dominic
Brilliant reply. Simple English. Simple to follow instructions. And it worked immediately, first time.
Why couldn't the Apple and Adobe corporations get their programming right first time? We spend billions of UK pounds and US dollars with them. They reply with incompetent programming such as this, and arrogance to their customers in issuing faulty systems without doing the most rudimentary checks.
Anyway, I certainly shan't be buying another Apple as this is the most unreliable, most incomprehensible, most illogical and downright thoughtless shoddy piece of computer kit which I have ever owned. And all of it is rubbish ~ emails disappear, photos can't be organised properly, spreadsheets don't work, Pages is laborious… the list goes on and on...
But thanks to you Dominic, I have been able to load Adoble Flashj… maybe eyou should get a job at Apple, and set them all on the right course to how to work simply and correctly with customers.
Thanks again,
David -
After the OS 6 update my speaker does not work. Volume control on the side does not adjust the volume either. My music plays but no sound comes out. Can someone help me with this issue? I've tried rebooting my phone but still no sound comes out. I currently have the 4S.
try to activate and desactivate the airplne switch a couple of time
-
Hello, could someone help me with lightroom 6. I can't seem to buy the upgrade from lightroom 5 to six on my desktop? Thanks.
Products
if that link doesn't work for you contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html -
iv moved all the music over thought home sharing... from the old itunes i was using but i want to be able to sync my iphone with the new itunes on my new machine but its saying saying syncing setp 1 of 1 and nothing happens... could someone please help me with this?
Copy the entire iTunes folder from the old computer to the new computer.
Maybe you are looking for
-
CIN: How to check the material document posted without excise invoice
Hi Guru, Please advise how to check the material document posted without excise invoice. I have tried tcode J1I7 but it seems start to collect the excise invoice first and then material document. But my case is to find the material document WITHOUT e
-
How to update trading partner (BSEG-VBUND) in tr.code FB01/FB02?
Hi, I need, under some circumstances, to update value of trading partner code (field BSEG-VBUND) to all items in the FI document, created/changed with transaction FB01/FB02. I checked available user exits and bussiness events, but didn't found one, w
-
Dear Hussein, I am facing error like for custom reports. Caused by: java.io.UTFDataFormatException: Invalid UTF8 encoding. So i hit this thread Invalid UTF8 encoding Could u pls tell me how to change the encoding. Is it from the browser or from repor
-
How to find the Current threads idle in each execute queue
Hi, Currently I am able to get the idle threads in the default queue. I would like to find out if it is possible to find out the no of threads that are idle in each of the execute queues in the wls server. Thanks Senthil
-
We are starting a conversion of a rather large network from atm/frame to mpls. We will be managing the ce routers and talk bgp to the pe routers. Our current network is eigrp. We will have quite a few backdoor links in the network. Some will be backu