How to revover compiling environment?
I installed Oracle8.1.7 server on Redhat7.3
so I had to change my compiling version to 6.2 with following files
these rpms:
compat-egcs-6.2-1.1.2.14.i386.rpm
compat-glibc-6.2-2.1.3.2.i386.rpm
compat-libs-6.2-3.i386.rpm
How could I recover my original compiling environment?
Thanks alot
Hi Vikas,
You could use Azure Management API to get the deployment configuration. For example, You could use
'Get Deployment' to get a deployment information. And you could get the role environment form the 'DeploymentSlot' . About how to detect the Environment, I suggest you
could refer to those post:
http://stackoverflow.com/a/4330628
http://stackoverflow.com/a/7111195
And I suggest you could see this code sample from this page:
http://convective.wordpress.com/2009/12/19/service-management-api-in-windows-azure/
Hope this helps.
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
How to make compiler do inline optimization in WTK?
Hello:
I'm a freshman in WTK. I found that my project is running very slow, so I wrote the following test to find the time cost of function call. I found that in this test, it spent 94ms, 1076ms and 2016ms in simulator, for 0, 1, and 2 function calls in each cycle (300,000 times).
By this result, I think function call may be very expensive and may became the bottleneck of performance in my project.
public static runTest(){
long i = 0;
long j = 0;
long begin = System.currentTimeMillis();
int times = 300000;
for (i = 0; i < times ; i++){
j = j + i;
long end = System.currentTimeMillis();
System.out.println("The result no call is " + (end - begin) );
begin = System.currentTimeMillis();
for (i = 0; i < times ; i++){
j += set(i);
end =System.currentTimeMillis();
System.out.println("The result 1 call is " + (end - begin) );
begin = System.currentTimeMillis();
for (i = 0; i < times ; i++){
j += set2(i);
end = System.currentTimeMillis();
System.out.println("The result 2 call is " + (end - begin) );
private static long set2(long i) {
return set(i);
private static long set(long i) {
return i;
}I work in eclipse ,and make sure i've checked "Inline finally blocks" check box.
I also run the same code in pc, and find the function call may have been optimized to "inline" by compiler (The times changed to 300,000,000, and result is 2016ms, 2281ms, and 2266ms), i also make sure changed the "compiler compliance level" to 1.3
In an ideal situation, the compiler can find "set(i)" is exactly "i" and change all"set(i)" to "i";
I wonder if the compiler can change some function to such "inline" in WTK. I don't know how compiler works in WTK, but as a freshman in WTK, i think there may have some optimization option i don't know. Can someone tell me how to make compile do this stuff?
Thx a lot!...javac make something inline while WTK not...I doubt this. I think that code that was inlined by javac, will remain inlined when executed by WTK. You can check that in more details at compiler forum if needed. Javac remains the same, inlines are there - I don't think this changes.
What WTK probably can (and maybe even should) change is *hotspot* optimization settings when it emulates execution of MIDlets by real device.
As for your problem, could it be described as follows: MIDlets run slower than you'd expect of a typical desktop Java applications?
If yes then WTK User Guide seem to have an explanation for that: +"...Compared to the desktop-based emulator, a real MIDP device usually has a slower processor, less memory, and a slower network connection, and might have a different type of display. The Sun Java Wireless Toolkit for CLDC enables you to simulate the constrained environment of a real device..."+ (quoted from chapter Adjusting Emulator Performance). To me this reads like WTK forces Java machine to slow down execution of MIDlets in order to make it feel closer to a typical mobile device. -
Hi, I have a problem with gcc. In my laptop I had gcc4 installed, with libstdc++ and glibc, and everything worked smoothly. I had the necessity to install gcc-3.4 to compile an old version of a data analysis program which was not ported to gcc4. I installed gcc-3.4, but got some errors. In the support forum of the program i've been told that such errors are because my libstdc++ and glibc are not matching my gcc linker version. So my question is: how to build a full gcc-3.4 compile environment? Where can I find the needed packages?
Thanks for the helpYesterday I've finally been able to compile root 5.14 using gcc-3.4 (as found in the gcc34 package from repository). I had to tweak the configuration heavily. First of all, there's a small bug in the configure script which won't allow you to use the GNU Scientific Library whose subversion is a two digit number (eg., >= 1.10). This is needed to enable mathmore support; fix it like this:
--- configure-bug 2009-01-18 20:41:56.000000000 +0100
+++ configure 2009-01-18 16:12:48.000000000 +0100
@@ -3503,7 +3503,7 @@
# check for gsl version >= 1.8
if test ! "x$found_dir" = "x"; then
message "Checking for GSL version >= 1.8"
- gsl_version=`grep "define GSL" $found_dir/gsl/gsl_version.h | sed 's/^.*"\([0-9]\.[0-9]\)"/\1/' | awk 'BEGIN { FS="." } { printf "%d", $1 * 1000 + $2 }'`
+ gsl_version=`grep "define GSL" $found_dir/gsl/gsl_version.h | sed 's/^.*"\([0-9]\.[0-9]*\)"/\1/' | awk 'BEGIN { FS="." } { printf "%d", $1 * 1000 + $2 }'`
if test $gsl_version -lt 1008; then
gslskip="skip"
result "no
To make sure that gcc-3.4 and g++-3.4 are used through all the build you have to set it in <root source>/config/Makefile.linux (both in the compiling and linking options). In the same file, change also the fortran complier from g77 to gfortran. If you want to use xrootd then you have to perform also this operation: unpack the <root source>/xrootd/src/xrootd-20060928-1600.src.tgz tarball before launching configure, change gcc -> gcc-3.4 and g++ -> g++-3.4 everywhere in configure, configure.ac andd config/GNUmake.rules.gcc, then pack the tarball again and substitute the original one with the modified one. This is because xrootd seems to have its own configuration files, and doesn't refer to Makefile.linux.
With these tweaks, this configuration worked for me:
./configure linux --enable-minuit2 --enable-mathmore --disable-krb5 --disable-cintex --disable-clarens
You should be able to enable kerberos support with MIT Kerberos (in my system there's heimdal kerberos which is not compatible with root). -
Compiler environment variables
Hi all,
I'm trying to use the function implemented in
the .
The SDK help on that item saids that it suported only under
winnt4.0/2000 (so it fits my case).
BUT when I compile the module contaning this call it returns with the
error: "Missing prototype"!!! although I encluded the and
the as written in the SDK help.
note: The also located in that dll warks fine!
I've searched in the for the problematic function and foud
the following:
#if(_WIN32_WINNT >= 0x0400)
WINBASEAPI
BOOL
WINAPI
TryEnterCriticalSection(
IN OUT LPCRITICAL_SECTION lpCriticalSection
#endif /* _WIN32_WINNT >= 0x0400 */
It seems that the compil
er environment variables isn't set correctly
somehow.
[Image]
How can I change the Compiler environment variables to match my needs?
Thanks...The Options menu in the Project Window has an entry for Compiler
Defines. Try adding this: /D_WIN32_WINNT=0x0400
Peter -
How to set the Environment Variable
I'm going through a tutorial on how to create an application and run from the command prompt. I have finished installing my jdk 6 Upadate 5 but i don't know how to set the Environment Variable for the javac compiler and the java interpreter to find my program.
I have created an application called "ExampleProgram" and have saved it on drive C:. How do i set the Environment Variable so that the "javac" compiler and the "java" interpreter can find itgyesa_say wrote:
I'm using Windows XP Service Pack 2.A very bad choice to go with Windows. Personally I prefer Linux.
I Google and had several information on how set it, but i tried all of them and none seem to work.I typed "how to set environmental variable in winxp" in Google and the very first link provided all the information I needed (you need). These things will make much more sense if you go through it yourself rather than having someone else spoon-fed you the answer. -
How can I use environment variables in a controller?
Hi all,
How can I use environment variables in a controller?
I want to pass a fully qualified directory and file name to FileInputStream and would like to do it by resolving an env variable, such as $APPLTMP.
Is there a method somewhere that would resolve this??
By the way,Did anyone used the class of "oracle.apps.fnd.cp.request.RemoteFile"?
The following is the code.
My EBS server is installed with 2 nodes(one for current,and other is for application and DB).I want to copy the current server's file to the application server's $APPLTMP directory. But the result of "mCtx.getEnvStore().getEnv("APPLTMP")" is current server's $APPLTMP directory.
Can anyone help me on this?
private String getURL()
throws IOException
File locC = null;
File remC = new File(mPath);
String lurl = null;
CpUtil lUtil = new CpUtil();
String exten;
Connection lConn = mCtx.getJDBCConnection();
ErrorStack lES = mCtx.getErrorStack();
LogFile lLF = mCtx.getLogFile();
String gwyuid = mCtx.getEnvStore().getEnv("GWYUID");
String tmpDir = mCtx.getEnvStore().getEnv("APPLTMP");
String twoTask = mCtx.getEnvStore().getEnv("TWO_TASK");
// create temp file
mLPath = lUtil.createTempFile("OF", exten, tmpDir);
lUtil.logTempFile(mLPath, mLNode, mCtx);
Thanks,
binghaoHowever within OAF on the application it doesn't.
what doesnt work, do you get errors or nothing ?XX_TOP is defined in adovars.env only. Anywhere else this has to go?
No, it is read from the adovars.env file only.Thanks
Tapash -
How to successfully compile form in Linux
Hi there,
I have a form, which is called: TESTFORM.fmb
I tried to compile this form using the following command:
export LD_LIBRARY_PATH=/u0/oracle/prodora/8.0.6/lib
f60gen module=/u0/oracle/prodappl/ar/11.5.0/forms/US/TESTFORM.fmb USERID=apps/passwordAlthough fmx is successfully generated, the following error is also encountered during compile:
FRM-18108: Failed to load the following objects.
Source Module:APPSTAND
Source Object: STANDARD_PC_AND_VA
Source Module:APPSTAND
Source Object: STANDARD_TOOLBAR
Source Module:APPSTAND
Source Object: STANDARD_CALENDAR
I look for APPSTAND.fmb and I found it in this location: /u0/oracle/prodappl/ar/11.5.0/forms/US/
So I then tried to compile again using the following command, but the problem is still occurred:
export LD_LIBRARY_PATH=/u0/oracle/prodora/8.0.6/lib
export forms_path=/u0/oracle/prodappl/ar/11.5.0/forms/US/
f60gen module=/u0/oracle/prodappl/ar/11.5.0/forms/US/TESTFORM.fmb USERID=apps/passwordMy question is how to successfully compile this form?
Any input would be helpful. Thank youJimmy;
Are you using a WebLogic server?
If yes, you should use the Forms Compiler frmcmp.sh
#!/bin/sh
for file in *.fmb
do
frmcmp_batch.sh module=$file userid=<your connect string> compile_all=yes
done
Tested on WebLogic and working, your paths will be different
#!/bin/sh
export ORACLE_HOME=/u01/app/oracle/product/fmw/oracle_pfrd
export FORMS_PATH=/u01/app/oracle/product/fmw/fr_inst
export PATH=$PATH:$ORACLE_HOME/bin:$FORMS_PATH/bin
export TERM=vt220
export ORACLE_TERM=vt220
export TNS_ADMIN=/u01/app/oracle/product/fmw/oracle_pfrd/network/admin
for file in *.fmb
do
frmcmp_batch.sh module=$file userid=scott/tigersy@dev2 compile_all=yes
done
Edited by: mseberg on Mar 2, 2011 8:57 AM
script run from directory .fmb's are in
Should also work on iAS
Thanks!!
Edited by: mseberg on Mar 8, 2011 5:22 AM -
How can I pass environment variables to the child process?
How can I pass environment variables to the child process? This is what I tried and it didn't work.
static public void main (String[] args) throws Exception {
ProcessBuilder b = new ProcessBuilder("java", "-cp", ".", "Child");
Map<String, String> map = b.environment();
map.put("custom.property", "my value");
b.redirectErrorStream(true);
Process p = b.start();
BufferedReader reader = new BufferedReader (new InputStreamReader(p.getInputStream()));
String line = null;
while (null != (line = reader.readLine())) {
System.out.println(line);
public static void main(String[] args) {
System.out.println("The value of custom.property is : " + System.getProperty("custom.property"));
}and the result is:
The value of custom.property is : nullComplete test:
static public void main (String[] args) throws Exception {
ProcessBuilder b = new ProcessBuilder("java", "-Dcustom.property=my property value", "-cp", ".", "Child");
Map<String, String> map = b.environment();
map.put("custom.property", "my environment value");
b.redirectErrorStream(true);
Process p = b.start();
BufferedReader reader = new BufferedReader (new InputStreamReader(p.getInputStream()));
String line = null;
while (null != (line = reader.readLine())) {
System.out.println(line);
public static void main(String[] args) {
System.out.println("Property value of custom.property is : " + System.getProperty("custom.property"));
System.out.println("Environment value of custom.property is : " + System.getenv("custom.property"));
} -
How to create ios environment with adobe id?
Hi , i am trying to create ios environment in windows platform.
can any one please tell me, how to create IOS environment with adobe id.
I a created adobe id and inserted code into it. But its running (Since one hour), and no response.
Any one have idea on it, please let me know.
Thanks in advance....
Message was edited by: pathi rskumarHi,
If you have already set the number range as an external range.
Then just passing the transaction type to field 'process_type' and external id to field 'object_id' of table ct_orderadm_h. Sales order will created with the assigned external id.
Hope this help.
cheers, -
How to identify the environment (database) Apex is running on?
Hi
We are going to have 3 environments here: Development, Test and Production (separate databases/servers for each one). As usual, the development process will move applications from Dev -> Test -> Prod.
On my Apex 3 applications, I would like to visually identify, in some way, to which environment I am currently connected. For instance, displaying the name of the environment on the page header.
My problem is how to identify what environment Apex is running on. Is there any Apex instance-level property where I can set a string and display it in my applications? Or something like that?
What is the best way to achieve this? Any suggestions welcome.
Thanks,
LuisLuis,
another option is to check the http environment to get this information.
This is what we use in one of our applications:
FUNCTION get_environment
RETURN VARCHAR2
IS
BEGIN
IF LOWER (OWA_UTIL.get_cgi_env ('SERVER_NAME')) IN
('development.opal-consulting.de')
THEN
RETURN c_development;
ELSIF LOWER (OWA_UTIL.get_cgi_env ('SERVER_NAME')) =
'test.opal-consulting.de'
THEN
RETURN c_test;
ELSE
RETURN c_production;
END IF;
END;Unfortunately, this doesn't work with Oracle XE, thus you might be better off checking the value of: OWA_UTIL.get_cgi_env ('HTTP_HOST')
Anyway, I would also rather suggest using the table based approach, I use it in most applications now. This way you are more flexible. You can simulate all different settings in the same schema. Also, you can install development and test in the same database.
Regards,
~Dietmar. -
How can I compile an entire package ??
Hi
I've downloaded about 20 .java files (these files build a package) and I want to compile them now with javac. Compiling the files one after the other produces unfortunately many errors. The owner of the code told me I've to "compile the entire package" and I should use Borland's JBuilder for that. Installing JBuilder makes trouble so I want to compile the code with javac.
Do you know how I can compile an entire package with javac ?
javac *.java doesn't work (produces lots of errors).
Thanks in advance,
MarcelHi
I've downloaded about 20 .java files (these files
build a package) and I want to compile them now with
javac. Compiling the files one after the other
produces unfortunately many errors. The owner of the
code told me I've to "compile the entire package" and
I should use Borland's JBuilder for that. Installing
JBuilder makes trouble so I want to compile the code
with javac.
Do you know how I can compile an entire package with
javac ?
javac *.java doesn't work (produces lots of errors).
I doubt it.
"javac *.java" will compile any dependent class files in the same package.
There are several possibilities.
1. There is more than one package.
2. The class path is wrong. (The class path must have the root of the directory and obviously the java files must exist in a directory tree that mirrors the package.)
3. Something is wrong with the java files. Or perhaps something is missing. -
How to get system Environment variable?
How to get system Environment variable without using jni?
just like "JAVA_HOME" or "PATH"...
Any reply is help to me!! :-)Thx for your reply...
I get it!!!
Read environment variables from an application
Start the JVM with the "-D" switch to pass properties to the application and read them with the System.getProperty() method. SET myvar=Hello world
SET myothervar=nothing
java -Dmyvar="%myvar%" -Dmyothervar="%myothervar%" myClass
then in myClass String myvar = System.getProperty("myvar");
String myothervar = System.getProperty("myothervar");
This is useful when using a JAVA program as a CGI.
(DOS bat file acting as a CGI) java -DREQUEST_METHOD="%REQUEST_METHOD%"
-DQUERY_STRING="%QUERY_STRING%"
javaCGI
If you don't know in advance, the name of the variable to be passed to the JVM, then there is no 100% Java way to retrieve them.
NOTE: JDK1.5 provides a way to achieve this, see this HowTo.
One approach (not the easiest one), is to use a JNI call to fetch the variables, see this HowTo.
A more low-tech way, is to launch the appropriate call to the operating system and capture the output. The following snippet puts all environment variables in a Properties class and display the value the TEMP variable. import java.io.*;
import java.util.*;
public class ReadEnv {
public static Properties getEnvVars() throws Throwable {
Process p = null;
Properties envVars = new Properties();
Runtime r = Runtime.getRuntime();
String OS = System.getProperty("os.name").toLowerCase();
// System.out.println(OS);
if (OS.indexOf("windows 9") > -1) {
p = r.exec( "command.com /c set" );
else if ( (OS.indexOf("nt") > -1)
|| (OS.indexOf("windows 2000") > -1 )
|| (OS.indexOf("windows xp") > -1) ) {
// thanks to JuanFran for the xp fix!
p = r.exec( "cmd.exe /c set" );
else {
// our last hope, we assume Unix (thanks to H. Ware for the fix)
p = r.exec( "env" );
BufferedReader br = new BufferedReader
( new InputStreamReader( p.getInputStream() ) );
String line;
while( (line = br.readLine()) != null ) {
int idx = line.indexOf( '=' );
String key = line.substring( 0, idx );
String value = line.substring( idx+1 );
envVars.setProperty( key, value );
// System.out.println( key + " = " + value );
return envVars;
public static void main(String args[]) {
try {
Properties p = ReadEnv.getEnvVars();
System.out.println("the current value of TEMP is : " +
p.getProperty("TEMP"));
catch (Throwable e) {
e.printStackTrace();
Thanks to W.Rijnders for the W2K fix.
An update from Van Ly :
I found that, on Windows 2003 server, the property value for "os.name" is actually "windows 2003." So either that has to be added to the bunch of tests or just relax the comparison strings a bit: else if ( (OS.indexOf("nt") > -1)
|| (OS.indexOf("windows 2000") > -1 )
|| (OS.indexOf("windows 2003") > -1 ) // works but is quite specific to 2003
|| (OS.indexOf("windows xp") > -1) ) {
else if ( (OS.indexOf("nt") > -1)
|| (OS.indexOf("windows 20") > -1 ) // probably is better since no other OS would return "windows" anyway
|| (OS.indexOf("windows xp") > -1) ) {
I started with "windows 200" but thought "what the hell" and made it "windows 20" to lengthen its longivity. You could push it further and use "windows 2," I suppose. The only thing to watch out for is to not overlap with "windows 9."
On Windows, pre-JDK 1.2 JVM has trouble reading the Output stream directly from the SET command, it never returns. Here 2 ways to bypass this behaviour.
First, instead of calling directly the SET command, we use a BAT file, after the SET command we print a known string. Then, in Java, when we read this known string, we exit from loop. [env.bat]
@set
@echo **end
[java]
if (OS.indexOf("windows") > -1) {
p = r.exec( "env.bat" );
while( (line = br.readLine()) != null ) {
if (line.indexOf("**end")>-1) break;
int idx = line.indexOf( '=' );
String key = line.substring( 0, idx );
String value = line.substring( idx+1 );
hash.put( key, value );
System.out.println( key + " = " + value );
The other solution is to send the result of the SET command to file and then read the file from Java. ...
if (OS.indexOf("windows 9") > -1) {
p = r.exec( "command.com /c set > envvar.txt" );
else if ( (OS.indexOf("nt") > -1)
|| (OS.indexOf("windows 2000") > -1
|| (OS.indexOf("windows xp") > -1) ) {
// thanks to JuanFran for the xp fix!
p = r.exec( "cmd.exe /c set > envvar.txt" );
// then read back the file
Properties p = new Properties();
p.load(new FileInputStream("envvar.txt"));
Thanks to JP Daviau
// UNIX
public Properties getEnvironment() throws java.io.IOException {
Properties env = new Properties();
env.load(Runtime.getRuntime().exec("env").getInputStream());
return env;
Properties env = getEnvironment();
String myEnvVar = env.get("MYENV_VAR");
To read only one variable : // NT version , adaptation for other OS is left as an exercise...
Process p = Runtime.getRuntime().exec("cmd.exe /c echo %MYVAR%");
BufferedReader br = new BufferedReader
( new InputStreamReader( p.getInputStream() ) );
String myvar = br.readLine();
System.out.println(myvar);
Java's System properties contains some useful informations about the environment, for example, the TEMP and PATH environment variables (on Windows). public class ShowSome {
public static void main(String args[]){
System.out.println("TEMP : " + System.getProperty("java.io.tmpdir"));
System.out.println("PATH : " + System.getProperty("java.library.path"));
System.out.println("CLASSPATH : " + System.getProperty("java.class.path"));
System.out.println("SYSTEM DIR : " +
System.getProperty("user.home")); // ex. c:\windows on Win9x system
System.out.println("CURRENT DIR: " + System.getProperty("user.dir"));
Here some tips from H. Ware about the PATH on different OS.
PATH is not quite the same as library path. In unixes, they are completely different---the libraries typically have their own directories. System.out.println("the current value of PATH is: {" +
p.getProperty("PATH")+"}");
System.out.println("LIBPATH: {" +
System.getProperty("java.library.path")+"}");
gives the current value of PATH is:
{/home/hware/bin:/usr/local/bin:/usr/xpg4/bin:/opt/SUNWspro/bin:/usr/ccs/bin:
/usr/ucb:/bin:/usr/bin:/home/hware/linux-bin:/usr/openwin/bin/:/usr/games/:
/usr/local/games:/usr/ccs/lib/:/usr/new:/usr/sbin/:/sbin/:/usr/hosts/:
/usr/openwin/lib:/usr/X11/bin:/usr/bin/X11/:/usr/local/bin/X11:
/usr/bin/pbmplus:/usr/etc/:/usr/dt/bin/:/usr/lib:/usr/lib/lp/postscript:
/usr/lib/nis:/usr/share/bin:/usr/share/bin/X11:
/home/hware/work/cdk/main/cdk/../bin:/home/hware/work/cdk/main/cdk/bin:.}
LIBPATH:
{/usr/lib/j2re1.3/lib/i386:/usr/lib/j2re1.3/lib/i386/native_threads:
/usr/lib/j2re1.3/lib/i386/client:/usr/lib/j2sdk1.3/lib/i386:/usr/lib:/lib}
on my linux workstation. (java added all those execpt /lib and /usr/lib). But these two lines aren't the same on window either:
This system is windows nt the current value of PATH is:
{d:\OrbixWeb3.2\bin;D:\jdk1.3\bin;c:\depot\cdk\main\cdk\bin;c:\depot\
cdk\main\cdk\..\bin;d:\OrbixWeb3.2\bin;D:\Program
Files\IBM\GSK\lib;H:\pvcs65\VM\win32\bin;c:\cygnus
\cygwin-b20\H-i586-cygwin32\bin;d:\cfn\bin;D:\orant\bin;C:\WINNT\system32;C:\WINNT;
C:\Program Files\Dell\OpenManage\Resolution Assistant\Common\bin;
d:\Program Files\Symantec\pcAnywhere;
C:\Program Files\Executive Software\DiskeeperServer\;C:\Program Files\Perforce}
LIBPATH:
{D:\jdk1.3\bin;.;C:\WINNT\System32;C:\WINNT;d:\OrbixWeb3.2\bin;D:\jdk1.3\bin;
c:\depot\cdk\main\cdk\bin;c:\depot\cdk\main\cdk\..\bin;
d:\OrbixWeb3.2\bin;D:\Program Files\IBM\GSK\lib;
H:\pvcs65\VM\win32\bin;c:\cygnus\cygwin-b20\H-i586-cygwin32\bin;d:\cfn\bin;
D:\orant\bin;C:\WINNT\system32;
C:\WINNT;C:\Program Files\Dell\OpenManage\ResolutionAssistant\Common\bin;
d:\Program Files\Symantec\pcAnywhere;
C:\Program Files\Executive Software\DiskeeperServer\;C:\Program Files\Perforce} -
How to set ORACLE_HOME environment variables in win 2003
Can anyone tell me how to set ORACLE_HOME environment variables in Win2003
Please tell me the significance of that also.It will be really helpful if u can help me out from Path variable seting of JAVA SDK also... Thanks in advance...hi
use this code IN FORMS60 variable in Regedit
\\server\DATA\store\Forms;
Rizwan -
New programmer- how do i compile package members?
im learning java using sams teach yourself java in 21 days. its really good compared to other ive tried but i was having a problem on day 6. i couldnt compile package members successfully. i didnt undestand the book instruction so instead of compiling this way:
C:\noam\java> c:\java\jdk1.5.0_06\bin\javac classname.java
i did it this way:
C:\java\noam\org\cadenhead\ecommerce> c:\java\jdk1.5.0_06\bin\javac classname.java
this worked but other classes inside the package could not recognize this class, though classes outside the package could.
how do i compile package members?
thnx!I solved the problem...! I have no idea how but it worked this time!
thnx anyway for everybody who tried to help! -
How do you compile Flex-dependent classes with ASC?
Hi,
I've been trying unsuccessfully for most of the evening to compile a .as file that relies on mx.collections.ListCollectionView using asc. I figured I could just import the Flex framework SWCs from the command line with asc, but asc doesn't seem to respect SWCs - it only seems to respect .abc files.
So, I've spent most of my time trying to compile the Flex framework into a single .abc file that I can import whenever I want to compile a class that relies on Flex. I figured I could make a base .as file with include statements for all of the Flex .as files (copying the approach I saw for files like builtin.as) and compile that, but all I seem to get are compiler errors - mostly "[Compiler] Error #1181: Forward reference to base class (base class name)."
I have a feeling I'm doing this completely the wrong way. I'd very much appreciate any assistance that anybody can offer me.
Thanks,
- max<div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>I use MXMLC to compile my .as file projects.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Alex Harui<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Flex SDK Developer<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><a href="http://www.adobe.com/"><span style='color:blue'>Adobe<br />Systems Inc.</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Blog: <a href="http://blogs.adobe.com/aharui"><span<br />style='color:blue'>http://blogs.adobe.com/aharui</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Maxim Porges<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Monday, February 09, 2009 9:22 PM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> How do you compile Flex-dependent classes with ASC?<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new discussion was started by<br />Maxim Porges in <br><br /><br><br /><b>Developers</b> --<br><br /> How do you compile Flex-dependent classes with ASC?<br><br /><br><br />Hi, <br><br /><br><br />I've been trying unsuccessfully for most of the evening to compile a .as file<br />that relies on mx.collections.ListCollectionView using asc. I figured I could<br />just import the Flex framework SWCs from the command line with asc, but asc<br />doesn't seem to respect SWCs - it only seems to respect .abc files. <br><br /><br><br />So, I've spent most of my time trying to compile the Flex framework into a<br />single .abc file that I can import whenever I want to compile a class that<br />relies on Flex. I figured I could make a base .as file with include statements<br />for all of the Flex .as files (copying the approach I saw for files like<br />builtin.as) and compile that, but all I seem to get are compiler errors -<br />mostly "[Compiler] Error #1181: Forward reference to base class (base<br />class name)." <br><br /><br><br />I have a feeling I'm doing this completely the wrong way. I'd very much<br />appreciate any assistance that anybody can offer me. <br><br /><br><br />Thanks, <br><br /><br><br />- max <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b7d5d2">How do you compile<br />Flex-dependent classes with ASC?</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b7d5d2!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>
Maybe you are looking for
-
I am trying to transfer music files from one PC to another using homeshare and although I can view the music as a shared folder I cannot initiate the "import" process. I have iTunes 11.0.1.12 on both computers so the help screenshots do not help as
-
HP Officejet Pro 8000 Wireless
Hi, When printing any kind of document with a numer of copies checked ( eg. print one word document of 5 pages + number of copies 5) printer prints one word page, then one status report page, then again one word page, again status report page, then a
-
How to Hide Print Privew Option (Sap Script)
hi friends, i dont want print privew option (SAP SCRIPT) after executing the program the report shows output directly insted of showing print privew option. please reply. thanks in advance. regards, bhaskar
-
Bad image after taking a picture
Occasionaly when taking pictures, the result is like a psychadelic image or similar to a negative. How do I fix this or should I return my camera for another one? Solved! Go to Solution.
-
Photos messed up in my catalog now that I'm using Trial of LR5
I recently started a trial of LR5. I chose to update my LR4 catalog to be used in LR5, but first I copied the whole Lightroom folder for back-up. So several of my photos in the updated catalog are messed up and say their's an error accessing them.