Installer exits at start of installation
Sir,
I am installing on computer with following conf.
OS: Windows 2000 Pro , Service Pack 3
Norton Internet Security
Processor:P4
RAM:1GB
Pagefile:2GB
When i starts the installation it ask for path , i specify it and choose Enterprise Edition option, and specify Global Database Name, and passwords, then it shows that installer is preparing for installation. when it show progress second time, it exits near about more than half of the status bar indication.
Note: It shows that it had passed the installation test in dos window that opens prior to the installer.
I have downloaded the software from net and installing it from local hard disk
Reply Soon,
Regards,
Manpreet Johal
I experimented the same and I do not know what because according to the maxtrix certificatiuon W2K Server with SP 1 or higher is certified for Oracle10g but...
When I tried to install Oracle10g on W2K Server I got the same and after I tried to install it on XP Pro and it is functioning perfect.
Joel Pérez
http://otn.oracle.com/experts
Similar Messages
-
I already exit and started again several times but no solution. I always get this error message.
Any suggestion please??
Thank youI already exit and started again several times but no solution. I always get this error message.
Any suggestion please??
Thank you -
i was watching a movie on itunes and i exited, but started to rewatch later. when i tried, the movie was reset to the beginning and wouldnt let me skip to where i was before. can anyone help me?
yes yes and yes. but now the movie has completely disappered from my iTunes and from my iPhone. I had 16 days and 19 hours left to watch my movie when I started it, and after I started it I still had 23 hours to complete it. Now it is completely gone.
-
User exit for start-up date in transaction ib02
Hi all,
i need to change the start-up date in transaction ib02.
Is anyone know how to change it? Is there a user exit for this field?
thanks in advanced.
Dana.Hi Check out following exits
PCSD0001 Applications development R/3 BOMS
PCSD0002 BOMs: Customer fields in item
PCSD0003 BOMs: Customer fields in header
PCSD0004 BOM comparison
PCSD0005 BOMs: component check for material items
PCSD0006 Mass changes user exit
PCSD0007 Check changes in STKO
PCSD0008 WBS BOM: Customer-specific explosion for creating
PCSD0009 Order/WBS BOM, determine URL page
PCSD0010 Order/WBS BOM, determine explosion date
PCSD0011 Knowledge-based order BOM, parallel update
PCSD0012 Customer - Mat. number/mat. number during material exchange
PCSD0013 Customer-specific processing of an explosion for BOM browser
Thanks
Sandeep
Reward if helpful -
The question above is clear, what more detail do you need?
Regarding the Back button drop-down: do all the entries take you to the same page?
Some sites now use scripts to add entries to your history as you ''scroll through a page''. This has been reported on a couple of different news sites. However, I'm not seeing that effect at the moment.
Can you compare the number of different locations you load in the sidebar to the number of entries on the back button history? Normally Firefox doesn't keep track of background requests that modify a page, but a script might be able to turn that on, or perhaps an add-on.
In case one of your extensions is involved, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
You can restart Firefox in Safe Mode using
Help > Restart with Add-ons Disabled ''(Flash and other plugins still run)''
In the dialog, click "Start in Safe Mode" (''not'' Reset)
Any difference? -
Banshee exits on start with dbus-related error
Here's what I get when I try to start Banshee:
Unhandled Exception: DBus.DBusException: Unable to determine the address of the message bus
in [0x0003e] (at /home/mark/src/arch/extra/lib/dbus-sharp/src/dbus-0.50/mono/Bus.cs:46) DBus.Bus:GetBus (BusType busType)
in [0x00001] (at /home/mark/src/arch/extra/lib/dbus-sharp/src/dbus-0.50/mono/Bus.cs:23) DBus.Bus:GetSessionBus ()
in [0x00007] (at /home/mark/src/arch/extra/gnome/banshee/src/banshee-0.10/src/DBusIPC.cs:53) Banshee.DBusServer:.ctor ()
in [0x00011] (at /home/mark/src/arch/extra/gnome/banshee/src/banshee-0.10/src/Core.cs:134) Banshee.Core:.ctor ()
in [0x0000b] (at /home/mark/src/arch/extra/gnome/banshee/src/banshee-0.10/src/Core.cs:73) Banshee.Core:get_Instance ()
in [0x00729] (at /home/mark/src/arch/extra/gnome/banshee/src/banshee-0.10/src/Main.cs:227) Banshee.BansheeEntry:Startup (System.String[] args)
in [0x00001] (at /home/mark/src/arch/extra/gnome/banshee/src/banshee-0.10/src/Main.cs:49) Banshee.BansheeEntry:Main (System.String[] args)
And of course the damned thing refuses to start at all. Has anyone else observed this bug?Causes it to "quit unexpectedly" (i.e. crash ) with the typical vague GUI message and this console output:
Debug: [12/18/2005 7:46:45 PM] (Changed active player engine) - GStreamer
Debug: [12/18/2005 7:46:45 PM] (Loaded PlayerEngine core) - GStreamer
Debug: [12/18/2005 7:46:45 PM] (Loaded AudioCdPlayerEngine core) - GStreamer
Debug: [12/18/2005 7:46:45 PM] (Audio CD Core Initialized) -
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Stacktrace:
in <0x4> (wrapper managed-to-native) System.Object:__icall_wrapper_mono_string_t o_byvalstr (intptr,intptr,int)
in <0xd0> (wrapper managed-to-native) System.Object:__icall_wrapper_mono_string_ to_byvalstr (intptr,intptr,int)
in <0xfffffe26> (wrapper managed-to-native) Banshee.Widgets.NotificationAreaIcon :XSendEvent (intptr,intptr,bool,Banshee.Widgets.EventMask,Banshee.Widgets.XClien tMessageEvent&)
in [0xbe] Banshee.Widgets.NotificationAreaIcon:SendManagerMessage (Banshee.Widge ts.SystemTrayMessage,intptr,uint,uint,uint)
in [0x10] Banshee.Widgets.NotificationAreaIcon:SendDockRequest ()
in [0x86] Banshee.Widgets.NotificationAreaIcon:OnRealized ()
in <0x36> Gtk.Widget:realized_cb (intptr)
in <0x23ac752> (wrapper native-to-managed) Gtk.Widget:realized_cb (intptr)
in <0x4> (wrapper managed-to-native) Gtk.Widget:gtk_widget_show_all (intptr)
in <0xffffffe7> (wrapper managed-to-native) Gtk.Widget:gtk_widget_show_all (intp tr)
in <0x17> Gtk.Widget:ShowAll ()
in [0x81] Banshee.NotificationAreaIcon:Init ()
in [0x2d] Banshee.NotificationAreaIcon:.ctor ()
in [0x2b] Banshee.PlayerUI:InstallTrayIcon ()
in [0x57] Banshee.PlayerUI:.ctor ()
in [0x748] Banshee.BansheeEntry:Startup (string[])
in [0x1] Banshee.BansheeEntry:Main (string[])
in <0x50adeb77> (wrapper runtime-invoke) System.Object:runtime_invoke_void_strin g[] (object,intptr,intptr,intptr)
Native stacktrace:
/usr/lib/pkgconfig/../../bin/mono(mono_handle_native_sigsegv+0xc0) [0x81 49e10]
/usr/lib/pkgconfig/../../bin/mono [0x8119970]
[0xffffe440]
/usr/lib/pkgconfig/../../bin/mono(mono_string_to_byvalstr+0x42) [0x80a98 e2]
[0xb4b8c389]
[0xb4b8c431]
[0xb4b8c1cf]
[0xb4b8bfb6]
[0xb4b8ab66]
[0xb4b8aa6f]
[0xb4b89d90]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x4b) [0xb6f3 64bb]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x139) [0xb6f29ee9]
/usr/lib/libgobject-2.0.so.0 [0xb6f394b2]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6c0) [0xb6f3ae90]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6f3b1f9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_realize+0xb4) [0xb6e4b2a4]
/usr/lib/libgtk-x11-2.0.so.0 [0xb6e57c0e]
/usr/lib/libgtk-x11-2.0.so.0 [0xb6d7d6f7]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x4b) [0xb6f3 64bb]
/usr/lib/libgobject-2.0.so.0 [0xb6f29829]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x139) [0xb6f29ee9]
/usr/lib/libgobject-2.0.so.0 [0xb6f394b2]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x6c0) [0xb6f3ae90]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb6f3b1f9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_show+0x56) [0xb6e4bc66]
/usr/lib/libgtk-x11-2.0.so.0 [0xb6cc4189]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_show_all+0x4d) [0xb6e43c6d]
[0xb4bb2d02]
[0xb4bb2cc0]
[0xb4b8a88b]
[0xb4b89b19]
[0xb4b897b6]
[0xb4cf535d]
[0xb75b4b6d]
[0xb75b389b]
[0xb75b3823]
/usr/lib/pkgconfig/../../bin/mono(mono_runtime_exec_main+0x60) [0x809237 0]
/usr/lib/pkgconfig/../../bin/mono(mono_runtime_run_main+0x16d) [0x80951a d]
/usr/lib/pkgconfig/../../bin/mono(mono_main+0x1011) [0x805d7c1]
/lib/tls/libc.so.6(__libc_start_main+0xdb) [0xb7dadd6b]
/usr/lib/pkgconfig/../../bin/mono [0x805c251]
"Fatal error in the mono runtime"... Hmm. Has anyone gotten stuff like this in other Mono apps since Mono was moved to /usr? -
i pad mini retina+cellular
How to Get Apps From the App Store Without a Credit Card
http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
http://support.apple.com/kb/ht2534
Why can’t I select None when I edit my payment information?
http://support.apple.com/kb/ts5366
If None is not available - On your computer launch iTunes and click “iTunes Store” in the left navigation pane. Click the “down arrow” next to your name at the top right side of the page and click “Account.” Enter your username and password and click “View Account” to log into your account information. Next to your Payment Type, click “Edit.” Select the “None” button and click “Done.” Confirm that your card has been removed by returning to the Apple account information screen. Under Payment Type, it should say that there is no credit card on file.
iTunes Store: Changing your payment information
http://support.apple.com/kb/HT1918
iTunes Store Accepted Forms of Payment
http://support.apple.com/kb/HT5552
Cheers, Tom -
Oracle Grid cluster Installation error
Dear Guru's ;
I didn't created Virtual IP, I just defined it in DNS like SCAN name... During installation I'm facing following error.Please help me I'm just a trainee. If i done this installation then only i can get job...
INS-20802 Grid Infrastructure Configuration failed.
Cause - The plug-in failed in its perform method
and INS-20802-Oracle Private Interconnect Configuration Assistant.
Cause - The plug-in failed in its perform method
in logs file
Starting 'Grid Infrastructure Configuration'
INFO: Starting 'Grid Infrastructure Configuration'
INFO:
INFO: C:\WINDOWS\Temp>I:\app\11.2.0\grid/perl/bin/perl -II:\app\11.2.0\grid\perl\lib -II:\app\11.2.0\grid\crs\install I:\app\11.2.0\grid\crs\install\rootcrs.pl
INFO: 2012-09-14 16:51:54: Parsing the host name
INFO: 2012-09-14 16:51:54: Checking for super user privileges
INFO: 2012-09-14 16:51:54: superUser=Administrator groupName=Administrators
INFO: 2012-09-14 16:51:54: domain=VENSARS user=ADMINISTRATOR
INFO: 2012-09-14 16:51:54: User has Administrator privileges
INFO: Using configuration parameter file: I:\app\11.2.0\grid\crs\install\crsconfig_params
INFO:
INFO: C:\WINDOWS\Temp>exit /B 1
INFO:
WARNING:
INFO: Completed Plugin named: Grid Infrastructure Configuration
INFO: Grid Infrastructure Configuration failed.
INFO: Grid Infrastructure Configuration failed.
INFO: ConfigClient.executeSelectedToolsInAggregate action performed
INFO: Exiting ConfigClient.executeSelectedToolsInAggregate method
INFO:
The Runconfig command constructed is I:\app\11.2.0\grid\oui\bin\runConfig.bat ORACLE_HOME=I:\app\11.2.0\grid MODE=perform ACTION=configure RERUN=false $*
INFO: Since the option is to overwrite the existing I:\app\11.2.0\grid\cfgtoollogs\configToolFailedCommands file, backing it up
INFO: The backed up file name is I:\app\11.2.0\grid\cfgtoollogs\configToolFailedCommands.bak.1
WARNING: readme.txt file doesn't exits
And Starting 'Oracle Private Interconnect Configuration Assistant'
INFO: Starting 'Oracle Private Interconnect Configuration Assistant'
INFO: PRIF-10: failed to initialize the cluster registry
INFO:
WARNING:
INFO: Completed Plugin named: Oracle Private Interconnect Configuration Assistant
INFO: Oracle Private Interconnect Configuration Assistant failed.
INFO: Oracle Private Interconnect Configuration Assistant failed.
INFO: ConfigClient.executeSelectedToolsInAggregate action performed
INFO: Exiting ConfigClient.executeSelectedToolsInAggregate method
INFO:
The Runconfig command constructed is I:\app\11.2.0\grid\oui\bin\runConfig.bat ORACLE_HOME=I:\app\11.2.0\grid MODE=perform ACTION=configure RERUN=false $*
INFO: Since the option is to overwrite the existing I:\app\11.2.0\grid\cfgtoollogs\configToolFailedCommands file, backing it up
INFO: The backed up file name is I:\app\11.2.0\grid\cfgtoollogs\configToolFailedCommands.bak.2
WARNING: readme.txt file doesn't exits
I'm installing Oracle 11.2.0.1.0 on windows 2003 server
Please help me...How can i resolve it...hi,
pls take a look at tihs doc from metalink
Windows: [INS-20802] Grid Infrastructure Configuration Failed as Local Node can not get Correct status of crssetup.exe on Remote Node [ID 1215613.1]
regards, -
I regret agreeing to download Firefox 3.6.10 update, as it is somehow corrupted, and will not load when I restart. Subsequently, every time I start Firefox, it warns "Update Ready to Install", then when I don't restart (if I restart, it won't load) it exits, and I have to start Firefox a second time. Then it works without the warning, but when I exit and start Firefox again, the warning returns and the cycle repeats. This is such a nuisance I have gone back (reluctantly) to Explorer. Is there anyway for me to get rid of this corrupted update and go back to before I downloaded the fateful update?
Your above posted system details show outdated plugin(s) with known security and stability risks.
*Shockwave Flash 9.0 r999
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
http://java.com/en/download/faq/firefox_newplugin.xml
See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html -
Hi I have just received Mac OS X Snow leopard but when I tried to install it i couldn't as I have forgotten the password for the mac and I can't find the disk for OS X 10.5.8 its running on. Is there any way to install the new software without both of these?
you can reset your password. restart, and hold down Command-s before the apple logo appears (when the screen is white). you will see scrolling scripts until you see something like "root:" then type /sbin/mount -uw / to mount the disk. after that, type sudo passwd admin or whatever your admin password is. type in the new password two times. it doesn't show what you typed when you type the password so make sure you are pressing the right keys. after you done that, type exit to start up the computer. now you will be able to login with the new password.
-
EM - Problens after Installation.
Hola !
I've just installed OMS Grid 10.2 and When I try to open the page a received the message :"PAGE CAN NOT BE FOUND". In some posts here, I've found that I must start DBconsole, but I' tried this and receive this message :OC4J Configuration issue. /export1/u01/app/oracle/OracleHomes/oms10g/oc4j/j2ee/OC4J_DBConsole not found.
I have no idea about this.
Please somenone help me.
Best Regards.
Message was edited by:
Matvdt19Hi,
Is everything running?
Start commands are.
Make sure that you have a correct environment
In this example we use this file to export env
/home/oracle/scripts/profile_oms
# Start listener
lsnrctl start
sqlplus "/ as sysdba" <<EOF
startup
exit
EOF
# Start OMS #
. /home/oracle/scripts/profile_oms
opmnctl startall
sleep 30
# Start Enterprise manager #
emctl start em -
User profile synchronization service wont start after SharePoint Service pack SP2
Hi
-Using SharePoint 2010 with 1 appserver and 2 frontend webservers on Service Pack2. (ms server 2008r2, SQLServer2008r2).
-Farmaccount has been set to local admin on all sp servers.
-Firstly, the User Profile Service Application runs fine and is started. Dont mix it with the User profile synchronization Service.
Prior to installing SP2 User profile service application and user profile synchronization service were running fine.
The first thing I did after the installation of SP2 was running the:
-psconfig -cmd upgrade -inplace b2b -wait
As SharePoint setup user (spadmin).
This ran fine on the 2 front end web servers.
However i got one fault on the Appserver:
I have also tried:
PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures
which led to same resulting error.
So I tried to start the Use profile synchronization service as suggested manually by logging on with the Farmaccount, starting the user profile synchronization service through Central Administration. This led to Stuck on Starting status.
The windows services Forefront had status starting, then stopped.
One question:
Prior to starting the User profile synchronization service through Central Administration. What account and startup status should the 2 Forefront Windows Services have? (Automatic and local system?) or (Automatic and Farmaccount?) or (Disabled and Local
system?) or (Disabled and farmaccount?). Because i know that SharePoint UPA will provision these services though Central Administration. However what is the default state prior to starting the Synchronization service?
So i continue...
Since it was stuck on starting i stopped it with:
stop-SPServiceInstance -identity <upaSyncguid>
which gave me:
Stop-SPServiceInstance : An object of the type Microsoft.SharePoint.Administrat
ion.SPServiceInstanceJobDefinition named "job-service-instance-36bdf2ef-58f2-45
e5-8f78-ab75f646611a" already exists under the parent Microsoft.SharePoint.Admi
nistration.SPTimerService named "SPTimerV4". Rename your object or delete the
and i could fix with:
#Stop the stopping:
stsadm -o provisionservice -action stop -servicetype "Microsoft.Office.Server.Administration.ProfileSynchronizationService, Microsoft.Office.Server.UserProfiles,
Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" -servicename FIMSynchronizationService
I also removed the forefront certificate from personal - certificate store, as this is provisioned when user profile synchronization service is provisioned.
That set the Central Administration Status on the User profile synchronization Service to disabled. Fine.
Everytime i tried to start the user profile synchronization service (logged on as farmaccount), left it for 10-15 min and did iisreset and restart sharepoint timer service, and also tried rebooting the appserver. No change.
A thought, is it important to restart timer service and do iisreset on the two frontend servers after trying to start the user profile synchronization service on the appserver?
I'm getting to the point were i just want to delete the whole service application and set it up anew...
any tips will be greatly appreaciated.
brgs
BjornYou're very welcome, hope it helped, if not the I suggest you clear the configuration cache as follows.
The config cache is where config settings are stored locally on the Microsoft SharePoint server, so a SQL call isn’t required.
To clear the cache:
Stop the SP Timer service. To do this, follow these steps:
Click Start, point to Administrative Tools, and then click
Services.
Right-click SharePoint 2010 Timer, and then click Stop.
Close the Services console.
On the computer that is running Microsoft SharePoint Server 2010 and on which the Central Administration site is hosted, click
Start, click Run, type explorer, and then press ENTER.
In Windows Explorer, locate and then double-click the following folder:
%SystemDrive%\ProgramData\Microsoft\SharePoint\Config\GUID
Notes
The %SystemDrive% system variable specifies the letter of the drive on which Windows is installed. By default, Windows is installed on drive C.
The GUID placeholder specifies the GUID folder. There may be more than one of these.
The ProgramData folder may be hidden. To view the hidden folder, follow these steps:
On the Tools menu, click Folder Options.
Click the View tab.
In the Advanced settings list, click Show hidden files and folders under
Hidden files and folders, and then click OK.
You can also simply type this directly in the path if you do not want to show hidden files and folders.
Back up the Cache.ini file. (Make a copy of it. DO NOT DELETE THIS FILE, Only the XML files in the next step)
Delete all the XML configuration files in the GUID folder (DO NOTE DELETE THE FOLDER). Do this so that you can verify that the GUID folders content is replaced by new XML configuration files when the cache is rebuilt.
Note When you empty the configuration cache in the GUID folder, make sure that you
do NOT delete the GUID folder and the Cache.ini file that is located in the GUID folder.
Double-click the Cache.ini file.
On the Edit menu, click Select All.
On the Edit menu, click Delete.
Type 1, and then click Save on the
File menu. (Basically when you are done, the only text in the config.ini file should be the number 1)
On the File menu, click Exit.
Start the Timer service. To do this, follow these steps:
Click Start, point to Administrative Tools, and then click
Services.
Right-click SharePoint 2010 Timer, and then click Start.
Close the Services console.
Note The file system cache is re-created after you perform this procedure. Make sure that you perform this procedure on all servers in the server farm.
Make sure that the Cache.ini file in the GUID folder now contains its previous value. For example, make sure that the value of the Cache.ini file is not 1.
Check in the GUID folder to make sure that the xml files are repopulating. This may take a bit of time.
BRGS
Mishagri -
Server Instance IntegratedWebLogicServer could not be started
While selecting any JSPX and then run, the server instance could not be started. tried installing Jdeveloper again, with all data removed from earlier installations. but still process is exiting with starting server instance.
Error log-
*** Using port 7101 ***
C:\Users\Gaurav\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
\Oracle\Middleware\jdk160_14_R27.6.5-32 was unexpected at this time.
Process exited.
Regards,
DeveshTried the same on vista but dint help out.
set CLASSPATH=
set CLASS_PATH=
removed C:\Users\Gaurav\AppData\Roaming\JDeveloper
restarted jdev
facing the same issue.
Can reinstall be of any help. I want to remove every trace of Jdev from system and then reinstall it, but dont know how, everytime it finds some trace of the earlier installations.
Regards,
Devesh -
HelloWorld MIDlet installed but it doesn't start
Hello,
I am new to J2ME. Like everyone else, first I tried to get the HelloWorld program running. I compiled it, I made a package, I installed it and then ... it won't start (no error message). Maybe I have got the wrong compile setting. Is there anyone who could help me?
I have a Nokia Series 60. I have the old Java SDK 1.3.0 installed and I'm using the MIDP v1.0 classes for compiling. I tired with several different manifest attributes, I tried with several different JAD attributes, I tried with and without the JAD file. I Kopied the fieles via Bluetooth an via USB ( -> C:\Nokia\Installs). I Installed the Nokia SDK 2.0 and tried with the -bootclasspath to the nokia classes. Then I tried with different targets.
Everytime i have got the same result.
I searched the web for answers, but there is nobody who has got the same problem.
thankful greetinsIts the HelloMIDlet.java file of the j2me_midp-1_0_3-fcs-src-b26-win-19_sep_2001.zip package:
*@(#)HelloMIDlet.java 1.8 01/08/21
* Copyright (c) 2000-2001 Sun Microsystems, Inc. All Rights Reserved.
* This software is the confidential and proprietary information of Sun
* Microsystems, Inc. ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with Sun.
* SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
* SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
* SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
* THIS SOFTWARE OR ITS DERIVATIVES.
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
* An example MIDlet with simple "Hello" text and an Exit command.
* Refer to the startApp, pauseApp, and destroyApp
* methods so see how each handles the requested transition.
public class HelloMIDlet extends MIDlet implements CommandListener {
private Command exitCommand; // The exit command
private Display display; // The display for this MIDlet
public HelloMIDlet() {
display = Display.getDisplay(this);
exitCommand = new Command("Exit", Command.EXIT, 1);
* Start up the Hello MIDlet by creating the TextBox and associating
* the exit command and listener.
public void startApp() {
TextBox t = new TextBox("Hello MIDlet", "Test string", 256, 0);
t.addCommand(exitCommand);
t.setCommandListener(this);
display.setCurrent(t);
* Pause is a no-op since there are no background activities or
* record stores that need to be closed.
public void pauseApp() {
* Destroy must cleanup everything not handled by the garbage collector.
* In this case there is nothing to cleanup.
public void destroyApp(boolean unconditional) {
* Respond to commands, including exit.
* On the exit command, cleanup and notify that the MIDlet has
* been destroyed.
public void commandAction(Command c, Displayable s) {
if (c == exitCommand) {
destroyApp(false);
notifyDestroyed(); -
How to start a application with a login window?
hi there
does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
<code>
// set up thread for login window
new Thread(new Runnable() {
public void run() {
// construct your login window here
// when you are done processing the
// password....
if(goodPassword) {
authorized = true; // a global variable
notifyAll(); // don't forget this
else {
System.exit(42);
}).start();
// control does not stop this code gets executed while
// the above thread is running.
// Set up main program here. This is done in the
// backround.
while(!authorized) {
synchronized(this)
{ wait(50); }
// now when the user logs in this frame pops
// up real quick.
myFrame.setVisible(true);
</code>
Hope you can figure it out.. good luck :)
Maybe you are looking for
-
When I try to compose an email from Godaddy's webmail in the Firefox browser. My steps are as follows: -Open Firefox. -Log in to Godaddy webmail. -I hit the compose button. -New window pops up. This is the window that I would compose an email in. - R
-
I have an iMac G5 (2005) and I cannot download the new version of iTunes as I do't have an Intel based Mac, therefore, I cannot connect my iPhone 4 to iTunes after upgrading to iOS 6. How can I remove iOS 6 from the iPhone to run iOS 5 again or actua
-
Question about the notification center (Mails and Reminders)
Hello together, I just started using Mountain Lion and now I have some few questions about the notification center. 1. Is it possible to show all reminds in the notification center? I have a lot of reminds without an date / time and they don't appear
-
Executing SSRS using the 'label' field instead of 'value' field
Hi, We have in house custom SSRS reports built for our clients and each of those reports have a 'label' field and a 'value' field. Now the 'label' field is something that the client sees on the UI as a friendly name. When a client runs the report, it
-
I am having trouble getting compilation albums to be imported and tracks listed together as one album. I have ticked the group compilations when browsing box in the preferences section but it still lists all tracks separately. Please help.