libstlport library problem

2939 byte By dudhanissa at 2007-11-27 7:02:50
Hello all,I have written a very small program. However it core dumps when I link this program with libstlport.Please find below the details about that.--int main(){ return 0;}-I have compiled this program with studio 12 compiler./opt/SUNWspro/bin/CC -D_GNU_SOURCE -fast -Dsunos5 -DXP_UNIX -DSYSV ...

how use datasource

660 byte By mfa786a at 2007-11-27 7:02:55
hi mastersir i import this fileimport javax.naming.Context;import com.sun.rave.web.ui.component.Button;andin button event i use this code for using datasourceContext ctx = null; DataSource ds = null;this line give errortry { ctx = new InitialContext();this line give errords = (DataSource) ...

Text Field Issues

110 byte By JohnnyFlipa at 2007-11-27 7:04:34
How can I make a text field not editable by manually typing in the values except by setting the values.

Determining the stacksize

699 byte By PerryBothrona at 2007-11-27 7:05:39
Good Afternoon,I was wondering if someone could help me: I would like to know how to determine the stacksize required for my OpenMP code.I know that using -openmp implies -stackvar, and I know what -stackvar implies. What I would like to know is how to determine how large I should set the ...

studio 12: dbx: internal error: signal SIGSEGV (no mapping at the fault add

7074 byte By autohanda at 2007-11-27 7:06:44
$dbx /usr/bin/dbx /tmp/coreFor information about new features see `help changes'To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrcReading dbxcore file header read successfullyReading ld.so.1Reading libintl.so.1Reading libnsl.so.1Reading libsocket.so.1Reading ...

How to check the never used variable?

30 byte By dyroroa at 2007-11-27 7:07:04
Sun Studio 10thx

Installation of Sun Studio 12

333 byte By ng2997a at 2007-11-27 7:08:34
Certainly Sun Studio 12 is a very nice ide for running Solaris cc and c++ in linux. I have tried the package installation onto fedora 7 inwhich Netbeans 5.5.1 is already installed, and found that the Netbeans components of Studio 12 would overwrite the files of Netbeans 5.5.1 even they were in ...

Rectangular Selection in Sun Studio 12?

319 byte By wolle_1a at 2007-11-27 7:09:30
Hi everybody,I just started using sunstudio for C++ developement. I wonder if it is possible to do rectangular selections in the editor window. (+cut&paste) I didn't find anything about that using the forum search, Google and playing around with the usual shortcuts.ThanksWolfram ...

Radio Buttons Auto-Submit on change throws IndexOutOfBoundsException

1592 byte By JohnnyFlipa at 2007-11-27 7:10:37
Hi On my page I have 2 radio buttons with Auto-submit on change activated for the 2 radio buttons, if any of the 2 radio button is check its sets some values picked from the database to some static text components,the logic is working fine but after clicking any of the radio button ...

A link (underline) for #include statements without pressing ctrl

760 byte By markrydea at 2007-11-27 7:10:42
Hello,I have SunStudio version 12. (the version which was released a few days ago, at the beginning of June 2007).I created a "C" project with it.When I press the "ctrl" button and then hover with the mouse over a name of include file, which is part of my project, a link (underline) appears ...

void function cannot return value

326 byte By weinharda at 2007-11-27 7:14:58
Why? -- this is example code. the actual source is the Axis2C 1.0 package. Is there a way to override this error? I don't think gcc complains.hello.cvoid goo() { 1; return;}void foo() { return goo();}int main(int argc, char** argv) { ...

wrong unprototyped calls with optimization in amd64 linux suncc 12

979 byte By yetanotheranonymousa at 2007-11-27 7:27:37
In C modus it doesn't seem to handle an unprototyped function calllike a varargs (...) call, but like (void). The code doesn't initialize eax to zero which is required for varargs calls in the amd64 ABI. icc and gccboth get this correct.This could be potentially deadly when calling a gcc ...

failed to unistall studio 10

396 byte By pizpalua at 2007-11-27 7:27:41
Trying to install SunStudio 12 on Solaris 10 SPARC. First supposedly removed SunStudio10 withcd /var/sadm/prod/com.sun.studio_10java uninstall_Sun_Studio_Softwareappeared to run successfully.but now when I try to run the installer for 12, it tells me that the IDE component of Studio 10 is still ...

Custom Component error

209 byte By GodHelpMea at 2007-11-27 7:31:29
I Have created the Complib file but the error comes while importing the complib file, the error says,"Unable To Read the Component Library Specified. Check the IDE log filefor more details......"

Problem when give the Jasper Reports complied file name

873 byte By mfa786a at 2007-11-27 7:32:23
Hi master sir I flow your guidance but when I give complied file name that give me error on that lineSee my codeConnection conn = null ;try {javax.naming.Context ctx = new javax.naming.InitialContext() ;DataSource ds = (DataSource)ctx.lookup(" java:comp/env/jdbc/Travel" ) ;conn = ...

Dialog BOX

221 byte By jg1234a at 2007-11-27 7:32:55
Visual Web PackFriends,I like create dialog box and the user choice the response type<YES> <NO:> <CANCEL> Who help, very thankśI type from Brazil and youu ?

No Sun Studio 12 warning message for bitfield sizes?

395 byte By iMaxa at 2007-11-27 7:33:04
Hi,Does Sun Studio 12 support GCC bitfield sizes?The FAQ for version 11 ( http://www.genunix.org/wiki/index.php/Sun_and_GCC_Compiler_Portability) specifially says Sun Studio does not support it. But I do not get any warning message, with any version I have tested (10 & 12). Am I missing some ...

How do I locate a USB device

172 byte By s_klein_bottlea at 2007-11-27 7:33:08
My application program (in C) needs to determine which hid device in /dev/usb is the joystick and which is the trackball. How do I do this?Thanks.Scott

sun studio 12 installation problem on RHEL5 x86_64

1877 byte By RJMa at 2007-11-27 7:33:31
Whenever I try to execute the batch installer for sun studio 12 I get the following error message:./batch_installer --accept-slaException in thread "Thread-1" java.awt.HeadlessExceptionat java.awt.dnd.DropTarget.<init>(libgcj.so.7rh)at java.awt.dnd.DropTarget.<init>(libgcj.so.7rh)at ...

Can an ImageComponent object reference an image in other server locations?

925 byte By drMohsenMadia at 2007-11-27 7:35:26
Hello all -I need display images stored in a folder on the server other than the folder where the web application is stored. However, pointing to any of those jpg images renders nothing as the application runs! To be able to render them, I must copy the images to the web directory of the ...

table highlighting

447 byte By TomTa at 2007-11-27 7:35:50
How can I dynamically highlight a table cell (a column row intersection) based on the value within that cell? I have a table bound to a mySql database table that is being refreshed in my jsp page prerender method. I would like to have the table cell highlighted (background color set) based on ...

xml support

147 byte By jonesyjonesa at 2007-11-27 7:36:18
I need to do some xml parsing from my C++ programs. Does the compiler ship with libraries for that? If so, how do I get started?Scott

Bind data from array

629 byte By Azerotha at 2007-11-27 7:36:39
I have a table created dynamically where I don't know what columns I have. I've created the table but I don't know how to make the binding. I have a class that has a boolean array. I want to show a check box in every column. I've crated the columns:Checkbox checkbox2 = new ...

resultset not give me data or not give me result

1156 byte By mfa786a at 2007-11-27 7:39:10
Sir I am use datasource and resultset with this code this code not give me error Sir I use one button and one text box that name is m1 I try move resultset value into mt my textbox but resultnot give me dataMy codepublic String button1_action() {Connection conn = null ; Statement sqlStatement = ...

ST12: Unexpected destructor called

3770 byte By evgsa at 2007-11-27 7:42:12
HiI have SunStudio12 on some Solaris 10 machine.>CC -VCC: Sun C++ 5.9 SunOS_sparc 2007/05/03>uname -aSunOS sungolem 5.10 Generic_125100-09 sun4u sparc SUNW,Sun-Fire-V250I have some problems with the following test program which terminates with core due to unexpected call of ...

DataProvider parameter problem

2287 byte By kyotea at 2007-11-27 7:42:34
I have a simple mySQL database with one table (test3) with three field (id,name and address)I have set up a dropdown list which is bound to "test3" which displayes the names field (value set to id)I also have a table component which is bound to "test3" with the following prerender and ...

Multi File upload

255 byte By NewLitusa at 2007-11-27 7:42:49
Hi all,I need to use a FileUpload in a page and upload n files.What's the correct way to do this?Any examples?I've been thinking to store in a session parameter (File[ ])....It's a bad idea?thank's in advance!

Sun Studio 12 support for Solaris 10 3/05

302 byte By rljacksona at 2007-11-27 7:43:32
The Sun Studio 12 http://developers.sun.com/sunstudio/features/sysreq.jsp page mentions Solaris 9 and 10 1/06 are supported. Will Sun Studio 12 support Solaris 10 3/05 in the future? Why is Solaris 10 3/05 not supported or at least a patch provided to allow Sun Studio 12 to support ...

LD_LIBRARY_PATH

516 byte By rodri059a at 2007-11-27 7:46:25
I am new to Linux and I just "installed" sunstudio 12 using the tar files (I have Ubuntu 7.04 distro)....I noticed that when I do f95 -dryrun -fast xyz.f90...there is a reference to LD_LIBRARY_PATH that is currently pointed to my ifort compiler### f95: Note: LD_LIBRARY_PATH = ...

Java Studio Enterprise based on Netbeans 5.5 or 6.

137 byte By AntonioSobalvarroa at 2007-11-27 7:46:44
Does anybody knows when there is going to be a Sun Java Studio Enterprise based on Netbeans 5.5 or 6 ?Tks.Antonio S.

see my error Caused by: java.net.URISyntaxException: Illegal character in p

1658 byte By mfa786a at 2007-11-27 7:47:46
sir i try call the jasper report but system give me this error Caused by: java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/Administrator/My Documents/Creator/Projects/WebApplication15/build/web/WEB-INF/lib/log4j-core.ja r at ...

Netbean 5.5.1 + VWP is too slow when big project.

699 byte By Atticcata at 2007-11-27 7:47:48
I have a project contains around 180(up) pages.This project is upgraded from Createor2 to Netbeans 5.5.1+VWP.In Creator2, It's very hard to maintain this project, waste much time in waiting.I heard many people say VWP is better then Creator2.In VWP, A simple project show a better performance ...

the er_print crashes while analyzing datarace

5701 byte By lishena at 2007-11-27 7:48:41
Dear all,I have installed the latest Sun Studio12 and use its DRDT tools to detect the race condition.After the execution of "collect -r on a.out", I can see that the experiement data has been successfully collected. But when I execute "er_print <tha.name>", er_print crashes.The following ...

compile gcc/g++ code with Sun CC shipped on Sun Studio 12 (linux)

1080 byte By jamonea at 2007-11-27 7:50:31
Hola:I have a large super multi-threaded program which compiles and works fine in FC5 (and up), I want to compile it with sun cc to see if it really runs faster and eventually being able to compile for Solaris to see if we can gain more execution speed (ultimately try it on a multi-core SPARC). ...

Dynamic Tree Node Creation

415 byte By ashishsamanta at 2007-11-27 7:50:32
i want to create a tree node as per the databasethe tree must contain child nodes equal to that of entries in databasethe name column of database must be added in treemeans- Each node in tree must specify the name column of databasetree Db(Tree root)Ia.jpg(tree node)Ib.jpg(tree node)Ic.jpg(tree ...

Migrating Creator 2 projects to NetBeans 6

1347 byte By YousufHa at 2007-11-27 7:51:11
Greetings Creator Users !!My name is Yousuf and I am responsible for Migration testing in the NetBeans Visual Web QE team. I was wondering whether any of you Creator 2 users have real world applications that they would like to get migrated to NetBeans 6. This would not only be great for you but ...

Internationalization in Creator studio 2

463 byte By Eng.Mohammeda at 2007-11-27 7:51:27
hi everybody:im making a project ,, and this project needs to be localized (means to support many languages) all things went ok execpt things related to Arabic langauge.. as i made a resource bindle for each language ,, when i run the application , it was fine for all langagues except Arabic as ...

Working with Tables

1451 byte By TheCarribeanKida at 2007-11-27 7:51:35
Hi I am new to creator and working with (Build 016115).Say for Example when I add a Table to my design view and also a objectlistProvider -> Basically to fetch the details from an array listand populate the table I am facing this limitation.a) The default list provider is listing the ...

[UML] One association class for two tables(classes)

751 byte By StanleyStyszynskia at 2007-11-27 7:51:42
Hello,I am creating a database schema using UML Module. It will be later transformed into classes and then I will add annotions in order to use JPA.I got 3 tables (classes): A, B and C. Tables A and B uses some pieces of information stored in the table C. Multiplicity is set to 0..* for both ...

Basic Question

256 byte By JavaBUZZa at 2007-11-27 7:51:45
Hello,I am looking for a programming environment for Java and I see Sun has 2: Java Studio Creator and Java Studio Enterprise. My first question is What's the difference? Is one better? Do you pay in some way for them? Thank you.Chris

Installing Sun Studio 12 on a Fedora Code 6 System

2015 byte By gdeldagoa at 2007-11-27 7:52:07
Hi,I磎 trying to install the Sun Studio 12 on a Fedora Core 6 Linux System. If I磎 correct I will do just two steps: execute prepare_system and then installerWell I do that and I receive this output, can anybody help me ?Thanks in advance,Gus[root@fedora60 gus]# ./prepare_system -C[root@fedora60 ...

Compiler version of Studio Creator 2 Update 1

516 byte By Drina at 2007-11-27 7:52:52
Hi all!I am new to Java and have just started learning. I downloaded Studio Creator, so that I can start playing with source code somewhere.It does not recognize 'enum' declaration and I get the following error;warning: as of release 1.5, 'enum' is a keyword, and may not be used as an ...

Sun Studio 12 doesn't do better than gcc

1771 byte By luoyi82a at 2007-11-27 7:52:54
First, version info:luoyi@4Email:~/qp$ gcc --versiongcc (GCC) 4.1.2Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.luoyi@4Email:~/qp$ suncc -Vcc: ...

see my errorInvalid byte 1 of 1-byte UTF-8 sequence.|#]

599 byte By mfa786a at 2007-11-27 7:53:58
Sir I use sun java studio creater with oracle and call pdf through jaserreport or ireporWhen I run my project then system not give me pdf report Sir I see server view log file that in last line give this error[#|2007-06-16T15:22:44.761+0500|INFO|sun-appserver-pe8.2|javax.enterprise.syste ...

How auto turn lowercase to uppercase in input-field?

98 byte By nsqsmilea at 2007-11-27 7:54:43
Hi All,How auto turn lowercase to uppercase in input-field?ThanksSmile

Why can't I run in non-debug mode?

1132 byte By burferda at 2007-11-27 7:55:17
I recently copied a JSC project into another project using the "Save Project As" option when right clicking on the project name.The new project appeared to copy fine and I was able to bild and run the project normally.Somewhere along the line, I did something that changed something to where I ...

How do I learn SUN STUDIO C

46 byte By reddyprasada at 2007-11-27 7:55:29
I wanna learn c will you please help me

"unmappable character for encoding Cp1252" when building project

162 byte By flamenkitoa at 2007-11-27 7:55:38
How can I tell Java Studio to build my project using UTF-8, so this warning message can go away?Any help would be most appreciated.Flamenkito

problem installing SunStudio 12

274 byte By XAPa at 2007-11-27 7:58:45
I would like to install sunstudio 12. I have StudioExpress Mars version (12/2006) installed and nothing to remove it. sunstudio 12 instalation procedure failed : "You may not install while an incompatible release is present."How can I remove this old version ?

Palette problem

511 byte By Genomsarena at 2007-11-27 8:00:03
Hi;I try to add my calendar component (.jar) to my palette). Palette manager can detect the components in it but if I add them to palette they have an icon with "?". I cant add these component to my frame. What is the problem? (I have this preblem with other components from internet ...