Java EE SDK Installation problems...
I have been having a great deal of difficulty installing the
Java EE SDK application from this downloaded file
java_ee_sdk-5_02-windows.exe
The installation appears to proceed normally for a while then aborts with a dialog that references the installation log.
I have tried installing this a couple of times and every time it fails, I have deleted the C:\SUN\... folder and the installation script tells me that the folder is still present and requires a new folder for installation.
I assume that there is some leftover junk in the registry that is upsetting things, but this still doesn't explain why the installation log is complaining that it can't find some path somewhere...
Can someone point me in the right direction? See the log file contents below:
Installation Log:
INFO - start JRE installation
INFO - end JRE installation
INFO - Start Sun Java System Message Queue configuration
INFO - End Sun Java System Message Queue configuration
INFO - unpacked jar file: C:\Sun\SDK3\lib\admin-cli.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\appserv-cmp.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\appserv-deployment-client.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\appserv-ext.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\appserv-jstl.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\appserv-rt.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\appserv-tags.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\appserv-ws.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\com-sun-commons-launcher.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\j2ee-svc.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\javaee.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\sun-appserv-ant.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\lib\deployment\sun-as-jsr88-dm.jar.pack.gz
INFO - Start core server configuration.
ERROR - default domain creation returned following exception: abnormal subprocess termination: Detailed Message:The system cannot find the path specified.
The system cannot find the path specified.
INFO - End core server configuration.
INFO - Start Java DB Configuration.
INFO - End Java DB Configuration.
INFO - Start samples configuration.
INFO - End samples configuration.
INFO - Start Java EE 5 samples configuration.
INFO - End Java EE 5 samples configuration.
INFO - unpacked jar file: C:\Sun\SDK3\blueprints\bpcatalog\lib\bp-ui-14.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\blueprints\petstore\lib\bp-ui-14.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\blueprints\petstore\lib\bp-ui-5.jar.pack.gz
INFO - unpacked jar file: C:\Sun\SDK3\blueprints\petstore\lib\lucene-core-2.0.0.jar.pack.gz
INFO - Start OpenESB installation.
INFO - Addon jar getting installed: jbi-installer.jar
INFO - Main class invoked: com.sun.jbi.installer.OpenEsbInstaller
INFO - End OpenESB installation.
There is one correction to the statement i made before ..server is not starting ..for some time it hangs and throws a socket time out exception...
com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://localhost:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out]
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:127)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:326)
at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
Caused by: java.io.IOException: Cannot bind to URL [rmi://localhost:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out]
at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
at com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:196)
at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:118)
... 9 more
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out]
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126)
at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
at javax.naming.InitialContext.bind(InitialContext.java:400)
at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
... 11 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120)
... 15 more
Caused by: java.net.SocketTimeoutException: Read timed out
at com.sun.enterprise.server.ss.provider.ASInputStream.waitForSelect(ASInputStream.java:141)
at com.sun.enterprise.server.ss.provider.ASInputStream.read(ASInputStream.java:99)
at com.sun.enterprise.server.ss.provider.ASInputStream.read(ASInputStream.java:91)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at java.io.DataInputStream.readByte(DataInputStream.java:248)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
... 19 more
what i strongly believe is i have mcafee installled in my pc and it is blocking some ports ..i tried disabling fire wall also , but no luck ....
Have u tried installing server on windows vista home premium ???is it compatable ???
Message was edited by:
vijay.rk
Similar Messages
-
Java Me SDK Installation Question
Dear Java Me Developers,
I downloaded Java Me SDK 3.3 (oracle-jmesdk-3-3-rr-win32-bin.exe) but I just cant find the main application.
When I go into the program folder I just see Custom Device Editor, Java Me Embedded Emulator, Java Me Mobile Emulator and Update Center.
Am I blind or where is it ^^?
GreetingsHi,
Sorry for the slow reply.
The Java ME SDK allows you to run embedded applications via the Java ME SDK Embedded Emulator or mobile applications via the Java ME SDK Mobile Emulator. If you have an existing mobile or embedded application start the respective emulator and then select the application to run. But the Java ME SDK does not feature a source code editor or other features of a full development environment.
For a full development environment, you will want to use an IDE such as Eclipse or NetBeans. The plugins that come with the Java ME SDK integrate the Java ME SDK emulators, device editor, and other tools into Eclipse or NetBeans which makes for a complete development environment.
For a good guide on getting started, see the Java ME SDK "Developers Guide" for NetBeans (http://docs.oracle.com/javame/dev-tools/jme-sdk-3.4/nb/html/toc.htm) or Eclipse (http://docs.oracle.com/javame/dev-tools/jme-sdk-3.4/ecl/html/toc.htm).
Hope that helps,
-- Terrence -
I installed the SAP Business One SDK and it seemed to install fine. However, when I go to add a reference to my .Net project, I do not see the SAP Business One DI API Version 2007 as a COM reference. Is there something else that I need to install? I installed this on my local developer machine which is a Windows 2003 Server machine.
Thank youHi,
The SDK installation can be installed separately but the SDK is just the documentation and samples and doesn't include either the DI API or UI API COM objects. The DI API is automatically installed as part of the client installation but can also be installed separately from the B1_SHR shared folder that is created during the server installation.
Kind Regards,
Owen -
Need Help with Java 2 sdk installation
I saved Java 2 sdk from the internet and when I try to open it a window comes up: Java development kit. The installshield (ikernel.exe) could not be lounched. Class not registered. Can any one help me please!
This may apply:
http://support.installshield.com/kb/view.asp?pcode=ALL&articleid=Q105146 -
Java ADD-IN installation problem
Hi All,
I have just upgraded BW 3.1c to NW04s SR1 release. I am now trying to install the Java component with usage type BI java, EP and AS java. The SCS and DB steps went in very smooth. When i got to CI install, i got a problem with deployment of SCA files. Basically, the install failed at the "install software units" step. The error I have in the sapinst_dev.log is -
Info: -
Deployment was successful -
Info: Summarizing the deployment results:
Error: Admitted: /software2/nw04supgSR1/java/J2EE_OSINDEP/UT/EPBC06_0.SCA
Processing error. Return code: 4
Error: Processing error. Return code: 4
WARNING 2006-09-29 14:02:44
CJSlibModule::writeWarning_impl()
SDM call of deploySdaList ends with returncode 4. See output of logfile /usr/sap/put/install/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/callSdmViaSapinst.log.
ERROR 2006-09-29 14:02:44
CJSlibModule::writeError_impl()
CJS-30156 SDM deployment failed for at least one of the components to deploy.<br> SOLUTION: Check '/usr/sap/put/install/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/callSdmViaSapinst.log' for more information.
ERROR 2006-09-29 14:02:44
FCO-00011 The step enableUsageTypes with step key |NW_Addin_CI|ind|ind|ind|ind|0|0|SAP_Software_Features_Enablement|ind|ind|ind|ind|11|0|enableUsageTypes was executed with status ERROR .
And, what i have in callSdmViaSapinst.log is -
Sep 29, 2006 2:02:43 PM Info: Initial deployment: Selected development componen
t 'com.sapportals.prt.portalruntime'/'sap.com'/'SAP AG'/'7.0006.20060301194711.0
000' will be deployed.
Sep 29, 2006 2:02:43 PM Info: Ending deployment prerequisites. All items are co
rrect.
Sep 29, 2006 2:02:43 PM Error: An error occured while storing the cluster insta
nces.
Sep 29, 2006 2:02:43 PM Error: There is no control instance running in the clus
ter:
Name:JM_T1159556563390_1_bowie
Host:bowie
State:5
HostAddress:138.126.81.41
Please check if there are running cluster instances.
Sep 29, 2006 2:02:43 PM Error: Received exception when saving current Engine st
ate: There is no control instance running in the cluster:
Name:JM_T1159556563390_1_bowie
Host:bowie
State:5
HostAddress:138.126.81.41
Sep 29, 2006 2:02:43 PM Error: Aborted: development component 'com.sap.pcd.dbsc
hema'/'sap.com'/'SAP AG'/'7.0006.20060301194711.0000':
Internal error in SDM: deployment was started although target system is not conf
igured properly. Db connect failed.
Sep 29, 2006 2:02:43 PM Error: An error occured while restoring the cluster ins
tances states
Sep 29, 2006 2:02:43 PM Error: There is no control instance running in the clus
ter:
Name:JM_T1159556563390_1_bowie
Host:bowie
State:5
HostAddress:138.126.81.41
Please check if there are running cluster instances.
Sep 29, 2006 2:02:43 PM Error: Received exception when restoring Engine state:
There is no control instance running in the cluster:
Name:JM_T1159556563390_1_bowie
Host:bowie
State:5
HostAddress:138.126.81.41
Please check if there are running cluster instances.
Sep 29, 2006 2:02:43 PM Info: -
Deployment was successful
Sep 29, 2006 2:02:43 PM Info: Summarizing the deployment results:
Sep 29, 2006 2:02:43 PM Error: Admitted: /software2/nw04supgSR1/java/J2EE_OSIND
EP/UT/EPBC06_0.SCA
Sep 29, 2006 2:02:43 PM Error: Processing error. Return code: 4
Please advise,
Mary BanhHi, I have solved this problem by delete the JAVA stack completely per the installation manual instruction like delete the unix directories and files and also delete the oracle schema SAPSR3DB and the new tablespace PSAPSR3DB and its datafiles. One thing that the manual did not mention and i did have to delete otherwise i kept having problem is java related directories under /sapmnt/SID/global/*. Once everything deleted, i was able to perform the installation again and it completed with out any issue.
-
IPhone SDK installation problem
Hi All,
I have a problem installing the iPhone SDK.
In the installation process, "Installation Type" page, the page you can choose modules either you want to install or not. I see "iPhone SDK" module is listed, but i couldn't select it, it's greyed out and it is not checked by default. So i had to continue like this, after installation, i couldn't open any iPhone sample code at all. XCode said i don't have iPhone SDK installed.
I downloaded the SDK from ADC days ago.
I upgraded my mac to 10.5.4, also upgraded iTunes to 7.7
are there any other prerequisites?excuse me i'm quite new to this community.
you mean the iphone sdk can not be installed on apple's own hardware?
is apple switching the focus to x86 architecture? are there any background information that i should take a look at?
appreciate it. -
Java Studio Creator Installation Problems in ubuntu linux (JRE not found)
Hi, im having some problem with the installation of this tool, i try to install it and i get a message saying that it can't found the JRE, i have also tried passing it by argument like this:
-is:javahome /usr/lib/j2se/jre/bin/
-is:javahome /usr/lib/j2se/jre/
but i get the same message, any suggestions??
Thanks in advance.I was getting these same errors, and after a bunch of poking around
in the install script and debugging it, I finally figured out that the
"problem" was that I was typing 'sh <installer>' instead of chmoding the
installer +x and running it as a command. I still don't understand why
it couldn't find the installed JVN (it's in /usr/bin/java, for heaven's
sake!), but when running it as a command it extracted the bundled jvm
and completed the install.
It did produce an error about being unable to find some stuff for the
bundled server, which I haven't tried to track down since I don't think
I need it. But I was able to install Creator and run it on Gentoo.
Now if I can just figure out why it does nothing when I click build
on an existing project, I'll be happy. -
SAP NetWeaver 2004s Java Trial Version installation problem
I am trying to install SAP NetWeaver 2004s Java Trial Version in my windows xp machine.
I have the following error.
Nothing is written in to my E:\usr\sap folder which I have share as saploc and sapmnt.
I read the forum threads on this.
I still do not know how to do this.
Please help
vijay
INFO 2006-12-17 21:23:58
Execute step getSID of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0.
ERROR 2006-12-17 21:24:01
FJS-00003 TypeError: dir_profile has no properties (in script NW_Java_OneHost|ind|ind|ind|ind, line 39640: ???)
ERROR 2006-12-17 21:24:01
MUT-03025 Caught ESAPinstException in Modulecall: executing JS script failed.
ERROR 2006-12-17 21:24:01
FCO-00011 The step getSID with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|getSID was executed with status ERROR .Rajat,
Sorry for the delay. I was on vacation.
Which environment variable are you referring to?
JAVA_HOME is set to C:\j2sdk1.4.2_09.
I am using j2sdk1.4.2_09.
Only port changes I tried was
#sapdp01 3201/tcp.
I tried with and without the # .
Both had the same results.
I have given below the last few statememts from the sapinst log file
Any help to solve my problem will be greatly appreciated.
Thanks.
Vijay
INFO 2007-01-02 16:13:25
Execution of the command "C:\j2sdk1.4.2_09\bin\java.exe -classpath C:/DOCUME1/VIJAYV1/LOCALS1/Temp/sapinst_exe.5432.1167783061/JAR/ins-j2ee.jar com.sap.ins.j2ee.GetSystemProperty" finished with return code 0. Output: ##Tue Jan 02 16:13:25 PST 2007java.runtime.name=Java(TM) 2 Runtime Environment, Standard Editionsun.boot.library.path=C\:
j2sdk1.4.2_09
jre
binjava.vm.version=1.4.2_09-b05java.vm.vendor=Sun Microsystems Inc.java.vendor.url=http\://java.sun.com/path.separator=;java.vm.name=Java HotSpot(TM) Client VMfile.encoding.pkg=sun.iouser.country=USsun.os.patch.level=Service Pack 2java.vm.specification.name=Java Virtual Machine Specificationuser.dir=C\:
Program Files
sapinst_instdir
NW04S
SNEAK_PREVIEW
FULL
INSTALLjava.runtime.version=1.4.2_09-b05java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironmentjava.endorsed.dirs=C\:
j2sdk1.4.2_09
jre
lib
endorsedos.arch=x86java.io.tmpdir=C\:
DOCUME1
VIJAYV1
LOCALS1
Temp
line.separator=\r\njava.vm.specification.vendor=Sun Microsystems Inc.user.variant=os.name=Windows XPsun.java2d.fontpath=java.library.path=C\:
j2sdk1.4.2_09
bin;.;C\:
WINDOWS
system32;C\:
WINDOWS;e\:
sapdb
programs
bin;e\:
sapdb
programs
pgm;C\:
MCC18
mpasm;C\:
MCC18
bin;C\:
MCC18
mpasm;C\:
MCC18
bin;C\:
MCC18
mpasm;C\:
MCC18
bin;f\:
oracle
product
10gDSHome
jdk
jre
bin
classic;f\:
oracle
product
10gDSHome
jdk
jre
bin;f\:
oracle
product
10gDSHome
jdk
jre
bin
client;f\:
oracle
product
10gDSHome
jlib;f\:
oracle
product
10gDSHome
bin;f\:
oracle
product
10gDSHome
jre
1.1.8
bin;f\:
oracle
product
10.1.0
Db_1
bin;f\:
oracle
product
10.1.0
Db_1
jre
1.4.2
bin
client;f\:
oracle
product
10.1.0
Db_1
jre
1.4.2
bin;C\:
WINDOWS
system32;C\:
WINDOWS;C\:
WINDOWS
System32
Wbem;C\:
Program Files
Microsoft SQL Server
80
Tools
BINN;C\:
Program Files
Microsoft SQL Server
80
Tools
Binn
;C\:
WINDOWS
Microsoft.NET
Framework
v1.1.4322;F\:
maven
Maven 1.0
bin;C\:
Program Files
QuickTime
QTSystem
;C\:
MCC18
mpasm;C\:
MCC18
bin;C\:
MCC18
mpasm;C\:
MCC18
bin;C\:
MCC18
mpasm;C\:
MCC18
bin;java.specification.name=Java Platform API Specificationjava.class.version=48.0java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactoryos.version=5.1user.home=C\:
Documents and Settings
vijay vijayakumaruser.timezone=America/Los_Angelesjava.awt.printerjob=sun.awt.windows.WPrinterJobfile.encoding=Cp1252java.specification.version=1.4java.class.path=C\:/DOCUME1/VIJAYV1/LOCALS~1/Temp/sapinst_exe.5432.1167783061/JAR/ins-j2ee.jaruser.name=vijay vijayakumarjava.vm.specification.version=1.0java.home=C\:
j2sdk1.4.2_09
jresun.arch.data.model=32user.language=enjava.specification.vendor=Sun Microsystems Inc.awt.toolkit=sun.awt.windows.WToolkitjava.vm.info=mixed modejava.version=1.4.2_09java.ext.dirs=C\:
j2sdk1.4.2_09
jre
lib
extsun.boot.class.path=C\:
j2sdk1.4.2_09
jre
lib
rt.jar;C\:
j2sdk1.4.2_09
jre
lib
i18n.jar;C\:
j2sdk1.4.2_09
jre
lib
sunrsasign.jar;C\:
j2sdk1.4.2_09
jre
lib
jsse.jar;C\:
j2sdk1.4.2_09
jre
lib
jce.jar;C\:
j2sdk1.4.2_09
jre
lib
charsets.jar;C\:
j2sdk1.4.2_09
jre
classesjava.vendor=Sun Microsystems Inc.file.separator=
java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgisun.io.unicode.encoding=UnicodeLittlesun.cpu.endian=littlesun.cpu.isalist=pentium i486 i386
INFO 2007-01-02 16:13:25
Execute step setNWOption of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_getJavaHome|ind|ind|ind|ind|0|0.
INFO 2007-01-02 16:13:26
Execute step collect of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0.
ERROR 2007-01-02 16:13:28
FJS-00003 TypeError: this._name has no properties (in script NW_Java_OneHost|ind|ind|ind|ind, line 8987: ???)
ERROR 2007-01-02 16:13:29
FCO-00011 The step collect with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect was executed with status ERROR . -
NW04s Java Full Edition Installation Problem
Hi All,
I am in the process of installing Netweaver 2004s SP7 sneak preview on Windows XP environment(standalone laptop - Pentium 1.8GHz, 1.5gb RAM, 80Gb HD). It gets stalled at Step 15 of 31 which is Creating database schema. Another interesting thing we noticed is that during this step is that CPU reaches 100%. It shows the below message in the Trace.
TRACE [iaxxejsexp.cpp:188]
EJS_Installer::writeTraceToLogBook()
Call block:Sdb_Schema_ind_ind_ind_ind
function:Sdb_Schema_ind_ind_ind_ind_SubComponentContainer_CreateDbSchema
is validator: false
This problem was already put by Tarun, but there is no detail on how he solved that problem.
Please help me in solving this problem.
Thanks
SathishHi Satish,
I am also facing the same problem. We are using Windows XP Professional with 1GB RAM and 2.8 GHz processor. The task manager is showing 100% CPU usage. The SAPInst process is taking up 99% of the CPU load but only occupying 1M of RAM. The java process is taking up 107MB of memory. Do you by any chance found a solution to the problem?
Thanks,
Subhabrata -
NW04 Java add-in installation problem
Hi Friends,
I am installing Unicode WAS 640 ABAP + Java system for XI3.0 on Windows/Oracle. I have installed ABAP system successfully. After that I was installing Java add-in on ABAP system. At the step 24 of 27 : Start SAP J2EE Engine, I was getting error like this:
CJS - 20057: Starting J2EE Engine DVEBMGS00 of SAP System XI3 failed: after 21 seconds the state of the engine changed from "stopping" to "stopped
Any help would be greatly appreciated
Thanks,
KrishnaI encountered the same error when installing Java in HP-UX OS. In my case this was due to the support packs on ABAP stack. I installed ABAP and applied recent support packs as part of post-install steps and then started the Java Add-in.
I re-installed ABAP Central Instance, Database Finalization and created and performed client copy. Thereafter, started Java Add-In. This time, the Java install completed successfully without the CJS-20057 error.
I hope this approach helps you too!
Regards
Raghu Balasubramanian -
Installation Problem - Java SDK 1.4.1
I have a problem with installing Java on my machine at home that you may be able to help me with.
Here are the Details: 1) I installed the most recent java SDK on my machine. 2) I set the Autoexec file with the correct PATH statement. 3) Set the correct CLASSPATH statement 4) The "Java -Version" statement gives the correct reply that it is version 1.4.
Below is my AutoExec.bat file
SET windir=C:\WINDOWS
SET winbootdir=C:\WINDOWS
SET COMSPEC=C:\WINDOWS\COMMAND.COM
SET PATH=C:\PROGRA~1\MICROS~3\OFFICE;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ATF
SET CLASSPATH=C:\J2SDK1_4\LIB\TOOLS.JAR;.;
SET PROMPT=$p$g
SET TEMP=C:\WINDOWS\TEMP
SET TMP=C:\WINDOWS\TEMP
Problem: Trying to compile a simple "HelloWorld" Program with "javac Helloworld.java" produces the error "Bad Command or File name".
Issues: Command Line in Windows ME requires 8.3 format. Inserts tilde "~" and a number into the names of the files. even using a short name such as "HelWrld.java" inserts a tilde because of the "java" extension. Have tried using a "jav" extension but that does not work as the error is the same.
Question: How can I get rid of the "Bad Command or File Name"?My First Java Progam (for Windows with Java 2 SDK v1.4.1)
Follow these instructions EXACTLY.
1. Download and install the Java 2 SDK, Standard Edition. You can find it here:
http://java.sun.com/j2se/downloads.html
Select the download for your operating system and be sure to download the SDK (rightmost column) and not the JRE. (The JRE is only the Java Runtime Environment, which does not include the Java compiler and other tools needed for software development).
2. Read the README and installation instructions! Read these instead of asking questions about installation etc. in the Java forums.
README for Java 2 SDK v1.4.1: http://java.sun.com/j2se/1.4.1/README.html
Java 2 SDK v1.4.1 for Windows installation: http://java.sun.com/j2se/1.4.1/install-windows.html
Things to note:
- After installing, add the bin directory of the SDK to your PATH environment variable. For example, if you installed the SDK in C:\j2sdk1.4.1_01, add the directory C:\j2sdk1.4.1_01\bin to your PATH. (If you don't know what an environment variable is and how to set it, read the documentation of Windows; if you're using Windows XP, this might be useful: http://support.microsoft.com/default.aspx?scid=KB;EN-US;q310519& ).
3. Open Notepad and type in your first program:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
Save this program somewhere with the filename "HelloWorld.java".
Things to note:
- The case of text is important. Don't type "Helloworld", "helloworld" or anything else. Also the case of the filename is important (even though Windows has case-insensive filenames!).
- Watch out that Notepad doesn't append ".txt" to the filename. The file should be named "HelloWorld.java", not "HelloWorld.java.txt".
4. Open a command prompt and go to the directory that contains the file "HelloWorld.java" (with the CD command).
5. Compile the progam with the following command:
javac HelloWorld.java
Things to note:
- If you get something like "Unknown command: javac" or "Bad command or filename", you did not (correctly) add the bin directory of the SDK to the PATH (see step 2).
6. Run the program. If you didn't get any compile errors, you now have a new file "HelloWorld.class" in the same directory. Run the program with the following command:
java HelloWorld
Things to note:
- If you get: "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld/class", you have typed "java HelloWorld.class". Leave off the ".class" at the end. You are typing a class name here, not a filename.
- If you get something like: "Exception in thread "main" java.lang.NoClassDefFoundError: helloworld (wrong name: HelloWorld)", you have typed the class name wrong. Note that the case is important (i.e., don't type "helloworld" but "HelloWorld")!
- You don't need to set any classpath here. In Java 1.4, the current directory is included in the classpath automatically. For older versions of Java, you may need to add the current directory (".") to the classpath, like this:
java -classpath . HelloWorld
7. Congratulations with your first working Java program. Now follow these links:
Java Tutorial
http://java.sun.com/docs/books/tutorial/
New to Java Programming Center
http://developer.java.sun.com/developer/onlineTraining/new2java/
FAQ
http://java.sun.com/products/jdk/faq.html
How Classes are Found
http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.html
Setting the class path
http://java.sun.com/j2se/1.4/docs/tooldocs/win32/classpath.html
JavaTM 2 SDK Tools and Utilities
http://java.sun.com/j2se/1.4/docs/tooldocs/tools.html
Jesper -
Java ME SDK 8.0 EA Netbeans plugin installation problem
We have been getting reports that some developer had trouble installing the Java ME SDK 8 EA plugins into NetBeans. We are working on fixing the issue, in the meantime please try the workaround posted in the Java ME SDK forum:
Java ME SDK 8.0 EA Netbeans plugin installation problem
Also be sure to check the latest ME SDK 8 EA Release Notes for late-braking information:
http://docs.oracle.com/javame/dev-tools/jme-sdk-8/release-notes/html/Release_Notes/Release_Notes.html
Sorry for the inconvenience.
Best,
-- TerrenceHi,
For the Raspberry Pi, tooling over serial port is not supported. The simplest solution is to use standard IP networking over Ethernet. This can be a direct connection between the PC and the Raspberry Pi, as long as the cable is twisted and the IP addressing is correct (e.g. manual IP addressing or DHCP server on the PC).
Regarding "Connecting to a UART Device": This is meant for attaching and controlling serial devices from the Raspberry Pi, not for tooling connections between the Raspberry Pi and the PC.
Hope this helps,
-- Terrence -
Installation problem for Java EE 5 SDK Update 2
Hi ,
I have jdk1.5.0_12 (J2SE) installed on my Windows XP. Now i am trying to install J2EE on my machine.I tried to install it twice but it comes to a halt after completing 45% at the same jar file. Following is the link which shows it comes to a halt.
http://img141.imageshack.us/my.php?image=j2eeinstallhangupav8.png
Also I wanted to know if I uninstall the J2SE and then install only J2EE will that be fine.Because I believe J2EE is a superset of J2SE ?
Thanks in advance.For the difference between Java EE and Java SE read here:
http://java.sun.com/javaee/5/docs/firstcup/doc/p3.html
For the installation problem, I don�t know how to help you... maybe here you can find some ideas:
http://forum.java.sun.com/thread.jspa?threadID=738559
Andrea -
INSTALLING JAVA 2 SDK 1.4 PROBLEMS
Hi !!!
I am new to java and followed the installation notes Java 2 SDK standard edition to install this application. Well i have tried 10 times restalling this application I always get the same problem that is, when the application is uploaded I open it and a message prompts saying the files can not be extracted there is a corruption. I have even deleted the files from control panel and tried many time again keep getting same problem I have also downloaded the application from different sites.
What do I do??? My start to java is hell!!
Please some one help me!Make sure you are logged in as admin or equivalent (assuming you have NT/Win2k/XP) and see if that clears up the problem. If you keep getting this error even after downloading from multiple sites, it hints at a deeper problem...perhaps bad internet connection, or a virus. THOUSANDS of copies of this have been downloaded over time and if there was some major problem with it, more users would complain.
-
Java CLDC Emulation (Java ME Dev Kit 3.0) installation problem
Hi,
I tried installing Java CLDC Emulation from Java ME Dev Kit 3.0 to two different devices and Windows Mobile 6 Professional Emulator with mixed results:
- Installation on Sprint phone went fine and I can open 'Sun Java CLDC Emu' from Start->Programs
- Installation on IPAQ110 & Windows Mobile 6 Professional Emulator went fine, however when I try to run it I get the following message:
"The file 'sun_jwc' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file"
I guess it has something to do with version of Windows since phone has Windows Mobile 6.1 Professional and IPAQ&Emulator Windows Mobile 6 Classic.
Can I just install some certificate into trusted store to make this work or Java CLDC Emulation from Java ME Dev Kit 3.0 works only with Windows Mobile 6.1 Professional?
Thanks,
MichaelTry this instructions:
1. Download and install Microsoft Device Emulator with device images for Windows Mobile 6 in "Network" emulator properties tab.
2. Download and install Microsoft Virtual PC.
Note: Installs virtual switch driver required for emulated network adapters.
3. Run Windows Mobile 6 Professional Emulator and bind its emulated NE2000 Network Adapter to a desktop network card.
Note 1: Consult the Microsoft device emulator documentation for instructions.
Note 2: Don't use ActiveSync for networking (cradling the emulator).
4. Write down the IP address of the emulator and the IP address of the host computer.
4.1. Open the Start menu on the emulator, click Settings, click Connections, click Network Cards, Click NE2000 Compatible Ethernet Driver.
4.2. Open Network Connections on the desktop, and display the status of the connection corresponding to the network card to which the NE2000 Network Adapter has been bound (step 3). Click the Support tab.
5. Open Emulator Properties.
5.1. Open the File menu.
5.2. Click Configure.
6. Set JavaMESdkHome\on-device\winmobile-arm as a shared folder in "General" emulator properties tab.
6.1. Browse to JavaMESdkHome\on-device\winmobile-arm.
6.2. Click OK.
7. Run File Explorer on the emulator.
7.1. Open Start menu.
7.2. Click Programs.
7.3. Click File Explorer.
8. Start the Sun Java CLDC Emulation CAB file installation.
8.1. Open Show menu.
8.2. Select Storage Card.
8.3. Click on the sun-java-cldc-emu.cab file.
9. Finish the installation and run the Sun Java CLDC Emulation.
Note: See the device installation for reference.
10. Register the Windows Mobile emulator in the Java ME SDK.
10.1. Open JavaMESdkHome\toolkit-lib\process\device-manager\conf\static-registrations.cfg.
10.2. Add the <device name>, <device ip>, <host ip> line into the file and save the changes (use the IP addresses from step 4).
As instance: MS_Emulator, 192.168.1.2, 192.168.1.1
11. Restart the Java ME SDK Device Manager.
Maybe you are looking for
-
Import video mp4 to CS4 but appear as an audio file???
I've just installed Premiere Pro Cs4 4.0.0 At the first time, I imported a mp4 video file: Video: MPEG4 VIDEO (H264) 1280x720 29.97fps [Video] Audio: AAC 48000Hz stereo 1536Kbps [Audio] And it appeared correctly in the Premiere But the next time, I s
-
Gnome panel preferences on file system somewhere
I've been wanting to clone my gnome panels to another user. I'm sure the info for which widgets, clocks, etc. is stored somewhere in ~ but I have idea where. Does anyone?
-
The "Find my iPhone" troubleshoot help needed....
"The find my iPhone" app is locating my device in a different state vs. the current state I live in. Can anyone help me troubleshoot this? Does this have a fix?
-
Where is the tutorial on the Imac
I have been a PC user for several year and am working through the Imac which was just purchased. Where can I go on the system to learn how to run it. Is there some video tutorial? Thanks, I-Mac 17" Mac OS X (10.4.8)
-
Item got stuck with the status of "Ready to Release"
I have one iten with huge quantity in Sales order.. i have transacted it.. but now there is some change in qunatity .. so now i am trying to backorder this line, now when i back ordered the line... some of it`s items got stuck in the status of Ready