Very simple question pls help me
I just want to use oracle sql and pl/sql workshop isqp*plus web site, so which product or software shouuld i download??? pls help me.
thanks.
Pl see your other 2 threads on the same topic (posting the same question multiple times does not make the issue go away ;-) )
Oracle install error 10g 64 bit windows
which product should i install??
HTH
Srini
Similar Messages
-
Help with Forte: very simple question, please help!
I recently downloaded the community version of Forte (Sun One) but can't seem to get any new empty class programs to execute properly. I know something is probably not set up right, which is why I really need a little help to get started. Regardless of the code I try to execute, the output error is always:
"java.lang.NoClassDefFoundError: (name of program)
Exception in thread "main" "
Please let me know what I'm not doing right. I would really appreciate anybody's thoughts on this problem because I would love to get Forte working so I can start learning Java. Thanks for your input!I would tell you that Forte is not a tool for the beginner. you should look at something simpler. Forte is a fully integrated development environment. I would look at a simple editor like emacs, available at gnu.org. The commands of this editor are quite difficult to get use to.
As for setting the class varialbe. It depends on the O/s that you are using. win98/me is different than NT/xp. Need to know one or the other before explaining.
email me if you have question. email address is in my profile. -
A very simple question, please help.
How would I output/print out a string in color rather then the standard black?
If anyone can help me or point me in the right direction would be greatly appreciated.
For example for extra clarification, if I want to print out a string "Hello World", how can I print it out in different colors such as in blue or red.
Output to a JApplet ( TextArea)
Thanks!
Edited by: ff4930 on Nov 30, 2007 9:18 AMYou can change the colour of all the text in a JTextArea by setting its foreground property:
yourComponent.setForeground.setColor(Color.RED);If you just want have multiple colors in one JTextArea, that's not possible. You will have to use a more advanced component, like JEditorPane or JTextPane:
http://java.sun.com/docs/books/tutorial/uiswing/components/editorpane.html
In basic cases, if the text doesn't have to be editable by the user, you can use a JLabel and pass it simple html:
String text = "<html><font color='red'>red text</font> " +
"<font color='green'>green text</font> " +
"<font color='blue'>blue text</font></html>";
yourLabel.setText(text); -
JSP and JavaBean simple question, pls help
Hello,
I am new to JSP. I just installed Sun Java Studio Enterprise 8 to create a JSP project. I created a jsp file and java class file in the same project. the class file is in default package. I use <jsp:useBean id="date" class="DateFormatBean"/> in jsp file to call the java class. When I run the jsp page I got the error:
cannot resolve symbol
symbol : class DateFormateBean
if I add a package in the class file, I got the error: package com.mycom.projsp does not exist.
Also I tried to add a jar file into the library and tried to import it in my jsp page, I also got package doesn't exist error.
I know I need to set the classpath and I did it, but still got the error. Could someone help me out? Do I miss some settings? I am using Tomcat.
Thanks in advance!i'm not familiar with Java Studio Enterprise 8 so i'm not sure how it is organizing its project. However, i know tomcat...and if for test purposes you take your jsp file and put it in $TOMCAT_HOME/webapps/ROOT and your class file and put it in $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes, things should work out. perhaps the web app isn't being organized properly in your tool.
hope that helps. -
A very very very simple question
Hi guys,
I have a very simple question and standard but I cant find anywhere...
I have two dateTime variables, i need to calculate difference between this dates in days, thats it.
I tried all functions and tried without success a Java Embed task but I couldnt retrieve this objects as java.util.Date so I couldnt calculate exactly the difference in days like this pure java code:
(dataVencimento.getTime() - dataReferencia.getTime()) / 86400000L)
can you help me this?Hi Jose
Just see if these alternate approaches works. I know there may be lot like this and you may be lucky to find out simple out of box solution itself. If you want to solve this issue and move ahead, gives these approaches a shot.
1. Create a very simple standalone WebService that takes 2 input date elements (can be of Date type or String type. If string type, convert to date in your java code). Create a simple operation like getDaysBetween(firstDate, secondDate). In the generated webservice impl class, use the java code apis (refer earlier link for usage), and get the difference. Return this value. NOW, invoke this WebService in your BPEL Process, and pass your 2 inputs (if the bpel payload elemetns are date object or string objects of date), and get output, and then use this output in your continuing bpel process.
2. This approach, I did a long back. When we insert any expression using XPath, in that editor window on bottom right side, we see many categories and for each category we see list of functions we can use, like for String, we can use concat etc. I vaguely remember reading somewhere, that we can add our own custom functions also in this section. So explore this direction and see if you can add your own function and then use that fucntion with your 2 input dates.
I have not given solution to your problem, but may be these directions can help you move ahead. Or something along these lines.
Thanks
Ravi Jegga -
A very simple question..Very Urgent
HI,
I have a very simple question.I am able to set up the client authentication as well as server authentication. Now do i need to authenticate (both server as well as client auth.) for every request i send to the server on https...i think it should be like that it should authenticate only for the first time and for the next upcoming requests in same session should not require any server or client authentication.. i think as it happens in browsers..
what is the fact actually??..can somebody put some light...right now in my case it is authenticating for every requests..
This is what i have done..
/****constructor part********/
// and tm are arrays of keymanagers and trustmanagers for client keystore and truststore
sslContext.init(km, tm, null);
HttpsURLConnection.setDefaultSSLSocketFactory(ssf);
HttpsURLConnection.setDefaultHostnameVerifier(new MYHostNameVerifier());
/****Method to send the request and response*********/
urlConn = (HttpsURLConnection)url.openConnection();
urlConn.setDoInput(true);
urlConn.setDoOutput(true);
OutputStream os = urlConn.getOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(os);
oos.writeObject(someobject);
oos.flush();
InputStream is1 = urlConn.getInputStream();
ObjectInputStream ois = new ObjectInputStream(is1);
SomeObject retObj = null;
retObj = (SomeObject)ois.readObject();
ois.close();
System.out.println("Get String>>>>> "+retObj.getString());
I am creating the object of this class..and calling the method again and again for sending requests and response..so i think handshake everytime i call the method...what i want is that handshake should happen for the first time and for the next requests no handshake or certificates should be checked or processed..
is it possible ..how..what i need to do for that..
please help me in this..
Akhil NagpalHi,
how could I achieve SSL Session Resumption using HttpsURLConnection.
Thanks. -
Very simple question, how do you configure windows 8.1 to use a SD card / external drive as the default install location for software applications? Primarily interested in apps installed from the windows store. This should be available in the settings
charm within the windows store. This must have been overlooked in the development of windows 8.1 or is a bug.
Regards, Bill
* update
I've tried modifying this key and the path:
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx”
http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_store/how-do-you-install-apps-in-windows-8-from-the/c4fbe2a8-fd3d-41c1-b9a6-6f881eed374f
Also tried using symlinks as detailed here:
http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneralHere's some links I've used to try to figure this out:
http://social.technet.microsoft.com/Forums/windows/en-US/2dfc0cd9-7d1b-41de-abce-e03fb6a5a383/metro-apps-not-working-in-windows-8-pro-x64-after-moving-users-and-programdata-folders?forum=w8itproinstall
http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral
http://social.technet.microsoft.com/Forums/windows/de-DE/f5e33ac9-beab-4b99-b3ca-7cb5e6f415e4/how-do-you-change-metro-apps-default-install-location?forum=w8itprogeneral
Regards, Bill
The registry method does not work with 8.1. I found this out the hard way. Doing it on 8.1 will leave you reinstalling the OS if you didn't do a SRP beforehand. -
VERY SIMPLE QUESTION REGARDING UML DIAGRAMS IN JDEVELOPER
Hello there,
I have a very simple question. I want to know how I can convert a class diagram that I have created in jdeveloper into a jpg image so I can put in word. When I try exporting it only has the uml to xmi option
Does anyone have a suggestion?Hi,
Right mouse click on the class diagram,
than click publish diagram on the context menu
and save as jpg where ever you want...
Boris -
This is a very simple question,but I don't know.Please me.Thank you!
I am a Chinese student in a university.I have a very simple question to ask.
I have writed a EJB module,and I have deployed to Weblogic8.1 successfully.
1.Now I want to write a client program.Is it necessary that the client program is packaged in the EJB package.For example ,the EJB package is Beans,is "package Beans " or "import Beans.*" necessary in my client program.
2.If I only know the EJB interfaces,that means the EJB module is writed by other programer.I want to know how I can write the client program.How can I call EJB module's method writed by other programer.Could you give me a simple example?
Thank you very much.I have writed a EJB module,and I have deployed to
Weblogic8.1 successfully.:-)
1.Now I want to write a client program.Is it
necessary that the client program is packaged in the
EJB package.For example ,the EJB package is Beans,is
"package Beans " or "import Beans.*" necessary in my
client program.You need not package your client with the EJB. It can be a JSP/servlet or a stand-alone application.
2.If I only know the EJB interfaces,that means the
EJB module is writed by other programer.I want to
know how I can write the client program.How can I
call EJB module's method writed by other
programer.Could you give me a simple example?
import java.util.*;
import javax.naming.*;
import javax.rmi.PortableRemoteObject;
import examples.*;
class TestEJBHello {
public static void main(String[] args) {
Context context = null;
Object object = null;
// Hashtable for environment properties.
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
env.put(Context.PROVIDER_URL, "t3://localhost:7001");
HelloHome home = null;
HelloWorld hello = null;
try {
context = new InitialContext(env);
object = context.lookup("HelloWorldTest");
System.out.println(" JNDI Looked up >>> " +object);
home = (HelloHome)PortableRemoteObject.narrow(object, HelloHome.class);
hello = home.create();
System.out.println(hello.hello());
} catch(Exception e) {
e.printStackTrace();
} finally {
close(context); // Closes the initial context.
private static void close(Context context) {
try {
context.close();
System.out.println("*** Context closed. ***");
} catch (NamingException namingException) {
namingException.printStackTrace();
} catch(Exception exception) {
exception.printStackTrace();
}Here's a sample client app code I use for a HelloWorld EJB. You need to have a EJB client JAR containing the home and remote interfaces in the classpath during compile time and runtime.
x -
I have a very simple question: how do I view where Lion has autosaved my current version to (without the convoluted route of using finder)? In days gone by i'd simply use the save as function to see where it was being saved.
It's actually even easier than using Save As to see the full path to the currently open document. Just do a "Secondary click" on the document title in its window's title bar.
Like you, I relied upon Save As my whole life to check a file's location and considered it a must-have capability. Turns out it's even faster to use the single-click method to reveal the full path to the open document. It displays the entire path to the current document starting from the level of your Mac, and works for files stored on drives as well as iCloud.
If you're not sure how to do a secondary click, go into System Preferences, select Trackpad, Point & Click to find the current preference for secondary click on your Mac. If you happen to have a mouse with more than one button, it's probably the right button. As a trackpad user, I check the box to "Click or tap with two fingers," so a simple two finger tap on the title of an open document reveals its full path. This feature actually has been around for a very long time.
Note that this is not the same thing as the Autosave and Versions menu, which is exposed using a little drop down triangle to the right of the title. There is no visual clue for the presence of this feature - you just have to know it's there, probably because this feature goes all the way back to pre-OS X days. -
I cant reset my security question pls help me
I cant find the reset your security question pls help me
If you mean that you're aren't getting the reset link as described in the steps half-way down this page : http://support.apple.com/kb/HT5312, then that will only show if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account.
If you aren't getting the link then you don't have a rescue email address, and you won't be able to add one until you can answer your questions - you will need to contact iTunes Support / Apple in your country to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset you can then use the steps half-way down the above HT5312 page to add a rescue email address for potential future use -
can anyone answer a very simple question for me ive heard the apple was giving away iphone 4 or 4s bumpers is there any truth to that?
Not any more, no. There was a free bumper program back when the iPhone 4 originally came out. It has long since expired.
-
Simple Servlet question, pls help
This is my form submission part in my jsp page
<form name="updateForm" method="POST" action="/Update"> This is my web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>/Update</servlet-name>
<servlet-class>UpdateMap</servlet-class>
</servlet>
</web-app>This is my UpdateMap.java
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
public class UpdateMap extends HttpServlet
public UpdateMap()
}I put my UpdateMap.class in WEB-INF/classes/ directory but when I clicked the submit button in my jsp page, I got The requested resource (/Update) is not available errorFound my own error. The jsp submission code should be
<form name="updateForm" method="POST" action="Update"> But I still got error when submit
The specified HTTP method is not allowed for the requested resource ( POST method of HTTP is not supported by this URL.)Pls help.
Thanks -
Very Simple Problem-- Need help in method selection process
Hello,
It's difficult to explain the background of the program I am making-- but I am stuck at a very simple problem, that I can only solve with a very long block of if statements:
I have 3 possible numbers-- 1, 2, or 3.
Imagine two numbers are already taken-- say 1 and 2. I want a variable to set itself to the number that's not taken (3).
So, again: If two numbers were taken say 2 or 3-- I want the variable to be sent to the other one that isn't taken-- 1.
Thank you for your help,
Evan.Actually, I'll just tell you the context of the program-- here is what I have so far:
This program is meant to simulate Monty Hall Problem:
http://en.wikipedia.org/wiki/Monty_Hall_problem
The program sets up an array of three possible values. Each one of those values represents a door with either a goat or a car behind it. It then randomly sets one of those values to 1 (in order to represent a car as per the Monty Hall problem), and 0's represent goats.
The user, which is simulated by the program (does not involve actual interaction), chooses a door initially.
The game show hosts then reveals a door that is not the users initial choice, but IS a goat ( an array value of 0).
For example if the array was [0][0][1]
The user could pick door one (array position 0). Which is a goat.
The game show host then reveals a goat that is not the users choice-- which would be array position 1.
After the game show host reveals the goat-- I want the user to always switch his decision to the only other remaining door that was not his first choice.
Then I wanted the computer to test to see if his final choice is the one with a car. And to tally up the amount of times he got it right.
--Sorry that was long winded:
import TerminalIO.*;//imports TerminalIO package for system.out.println
import java.util.*;//import java.util for random
public class Monty_Problem
int doors[]= {0,0,0};
Random rand= new Random();
double wins,totals=0;
public void carAssignment()
int car_door= rand.nextInt(3);
doors[car_door]=1;
public int judgesChoice(int judgeDoor, int initialChoice)
if(judgeDoor != initialChoice && doors[judgeDoor]!=1)
return judgeDoor;
else
return judgesChoice(rand.nextInt(3), initialChoice); //infinite loop right here that I cannot remedy. I want the program to have the judge pick a location that is not occupied by a '1' and is not the user's choice.
public void gamePlaySwitches()
int initialChoice= rand.nextInt(3);
int judgeDoor = 0;
int secondChoice= 0;
judgeDoor= judgesChoice(rand.nextInt(3), initialChoice);
//This part is meant to have the user switch choices from his initial choice
// to the only other choice that hasn't been revealed by the judge.
while(secondChoice == initialChoice || secondChoice== judgeDoor)
secondChoice++;
if(doors[secondChoice]==1)
wins++;
totals++;
else
totals++;
public static void main(String [] args)//creates the main menu
Monty_Problem a= new Monty_Problem();
int games=0;
while(games!=100)
a.carAssignment();
a.gamePlaySwitches();
games++;
System.out.println(a.wins/a.totals);
}Edited by: EvanD on Jan 11, 2008 4:17 PM -
Very simple question from a rookie
Hi,
I don't know how sequences work in OWB.
I have a very simple mapping:
1 (not empty) source table, 1 (empty) target table, 1 sequence.
Source and destination are connected.
The sequence.nextval is connected to the primary key. sequence.currval is not connected.
When I run the debug mode an error occurs: "Could not find data for all sources and target ...". The "Test Data" shows that OWB has not found data for the sequence.
Help!I use 10gR2 and OWB 10.2
The tables and the sequence are deployed. They are in the database.
There's something strange about this:
Starting ("Start...") works.
The debugging does not work.
Problem nearly solved ...
Message was edited by:
user517859
Maybe you are looking for
-
How can I turn off find my iPhone to restore when it won't let me into my phone settings.
I went to use my phone last night and suddenly it says activation is required (which I'm not sure I understand alone) but I began to go through the steps and it says it can not activate because the beta has expired and I need to do a system restore.
-
Iphoto 9.4.2 repeated crashes
Okay so I can't ignore it any longer. I have been trying to edit photos on iPhoto but it keeps crashing and it's driving me insane. This is one of the few reports I have gotten: Sorry it's in the iOS I meant to put it in the MacBook Pro section. I di
-
Default billing type for delivery without reference (Delivery Type LO)
Hi, We have copied delivery type LO to ZLO, so by default Copy control got maintained in VTFL. But when we do billing for this delivery in VF01 the system is picking F2 as billing type automatically. The system is not picking the defined billing type
-
I need help with the strereo mix in my pc ,
Hello everyone I have HP Probook model: 4540s, and my operational system is Windows 7 professional 32bits ( 6,1 version 7600 ) , my probleme is i can't find the stereo mix anywhere i have tried installing the realtek high definition audio driver b
-
Cant see iphone in itunes after the most resent itunes update
After updating itunes I downloaded the new iphone IOS. After connecting my phone, an error msg could not update iphone. Now my phone has the connect to itunes screen and will not come off regardless of what i do. I cant see it on the computer or itun