No output display (J2SE 1.4.0 SDK on W2k)
I'm running a simple Hello World program on a Windows 2000 Server (with SP3), I've J2SE 1.4.0 SDK installed on my computer. I've no problem compiling the program but I can't see the output when I run this simple program!
Even when I did a simple "java -version" result in a no-output respond from the shell. What went wrong here?
It seems to me that since you can't even get the version information from the JVM when you try:
java -version
Then the problem must fall into one of two categories. First, there is something wrong with the java executable. You could check your $PATH variable and scan the various directories listed therein until you find the java executable. Presumably it will reside in the same directory as the javac executable that appears to be working. In that case, try : ./java -version
If you still get no output, then the java application is corrupt and you should try re-installing it.
The other category of problem would be that things are working correctly but your standard output is getting redirection somewhere (/dev/null or a file perhaps).
Similar Messages
-
Help on output Display
Thanks in Advance
ID ROUTE STRT_NAME BEGIN_DESCRIPTION END_DESCRIPTION OVERLAP BEG_MP END_MP Hierarchy
100899 CR ELM AVE EXT FUERA BUSH RD ELM AVE 1551 0 0.46 3
100899 CR ELM AVE ELM AVE RT 910A 1551 0.46 0.95 3
100899 CR ELM AVE ELM AVE DELMAR BYPASS 1551 0.46 0.83 3
100290 NY32 ELM AVE EXT RT 910A FEURA BUSH RD ELM AVE 1551 16.85 17.31 1
100290 NY32 ELM AVE ELM AVE DELMAR BYPASS 1551 17.31 17.68 1
My output will be Based on Hierarchy Max valuewhich is "3"
ID = Hierarchy Max value 3 =(100899)
ROUTE = Hierarchy Min Value which is "NY32"
STRT NAME = Hierarchy Max value (3) and Min of Beg_MP of Hierarchy Max value(3) = ELM AVE EXT
Begin Description = Hierarchy Max value (3) and Min of Beg_MP (0) of Hierarchy Max value(3) = FUERA BUSH RD
End_description =Hierarchy Max value (3) and Max of Beg_MP (0.95) of Hierarchy Max value(3) = RT 910A
Beg_MP = Hierarchy Max value (3) and Min of Beg_MP (0) of Hierarchy Max value(3) =0
end_mp = Hierarchy Max value (3) and Max of Beg_MP (0.95) of Hierarchy Max value(3) = 0.95
ID ROUTE STRT_NAME BEGIN_DESCRIPTION END_DESCRIPTION BEG_MP END_MP
100899 NY32 ELM AVE EXT FUERA BUSH RD RT 910A 0 0.95CREATE TABLE TABLE_query(ID NUMBER,ROUTE VARCHAR2(30),STR_NAME VARCHAR2(30), BEGIN_DESCRIPTION VARCHAR2(300),END_DESCRIPTION VARCHAR2(300),BEG_MP NUMBER,END_MP NUMBER,HIERARCHY NUMBER,overlap number);
INSERT INTO TABLE_query(ID ,ROUTE,STR_NAME, BEGIN_DESCRIPTION,END_DESCRIPTION,BEG_MP,END_MP ,HIERARCHY,overlap)
values(100899,'CR','ELM AVE EXT','FUERA BUSH RD','ELM AVE',0,0.46,3,1551);
INSERT INTO TABLE_query(ID ,ROUTE,STR_NAME, BEGIN_DESCRIPTION,END_DESCRIPTION,BEG_MP,END_MP ,HIERARCHY,overlap)
values(100899,'CR','ELM AVE','ELM AVE','DELMAR BYPASS',0.46,0.95,3,1551);
INSERT INTO TABLE_query(ID ,ROUTE,STR_NAME, BEGIN_DESCRIPTION,END_DESCRIPTION,BEG_MP,END_MP ,HIERARCHY,overlap)
values(100899,'CR','ELM AVE','ELM AVE','DELMAR BYPASS',0.46,0.83,3,1551);
INSERT INTO TABLE_query(ID ,ROUTE,STR_NAME, BEGIN_DESCRIPTION,END_DESCRIPTION,BEG_MP,END_MP ,HIERARCHY,overlap)
values(100290,'NY32','ELM AVE EXT','RT 910A FEURA BUSH RD','ELM AVE',16.85,17.31,1,1551);
INSERT INTO TABLE_query(ID ,ROUTE,STR_NAME, BEGIN_DESCRIPTION,END_DESCRIPTION,BEG_MP,END_MP ,HIERARCHY,overlap)
values(100290,'NY32','ELM AVE','ELM AVE','DELMAR BYPASS',17.31,17.68,1,1551);
ID ROUTE STR_NAME BEGIN_DESCRIPTION END_DESCRIPTION BEG_MP END_MP HIERARCHY OVERLAP
100899 CR ELM AVE EXT FUERA BUSH RD ELM AVE 0 0.46 3 1551
100899 CR ELM AVE ELM AVE DELMAR BYPASS 0.46 0.95 3 1551
100899 CR ELM AVE ELM AVE DELMAR BYPASS 0.46 0.83 3 1551
100290 NY32 ELM AVE EXT RT 910A FEURA BUSH RD ELM AVE 16.85 17.31 1 1551
100290 NY32 ELM AVE ELM AVE DELMAR BYPASS 17.31 17.68 1 1551
My output will be Based on Hierarchy Max valuewhich is "3"
ID = Hierarchy Max value 3 =(100899)
ROUTE = Hierarchy Min Value which is "NY32"
STRT NAME = Hierarchy Max value (3) and Min of Beg_MP of Hierarchy Max value(3) = ELM AVE EXT
Begin Description = Hierarchy Max value (3) and Min of Beg_MP (0) of Hierarchy Max value(3) = FUERA BUSH RD
End_description =Hierarchy Max value (3) and Max of Beg_MP (0.95) of Hierarchy Max value(3) = DELMAR BYPASS
Beg_MP = Hierarchy Max value (3) and Min of Beg_MP (0) of Hierarchy Max value(3) =0
end_mp = Hierarchy Max value (3) and Max of Beg_MP (0.95) of Hierarchy Max value(3) = 0.95
ID ROUTE STRT_NAME BEGIN_DESCRIPTION END_DESCRIPTION BEG_MP END_MP
100899 NY32 ELM AVE EXT FUERA BUSH RD DELMAR BYPASS 0 0.95
I figured out how to get id,beg_mp and end_mp
Can anyone help me getting the rest of data coumns please
--route,str_name,begin_description,end_description,beg_mp,end_mp,hierarchy,
select distinct max(id) keep (dense_rank last order by hierarchy) over (partition by overlap) ,
min(beg_mp) keep (dense_rank last order by hierarchy) over (partition by overlap) beg_mp,
max(end_mp) keep (dense_rank last order by hierarchy) over (partition by overlap) end_mp
from table_query -
WBS element field to Depreciation Simulation Report output display
Hi SAP Experts,
We need to Add the WBS element field to Depreciation Simulation Report output display (S_ALR_87012936)
Could please give your valuable inputs
Thanks
Hari PothulaHI Javed,
We have capitalized with WBS element but not displaying in simulation report.
All configurations done in in ACSET and activation Account assignment objects
Thanks
Hari -
How to redirect the output display on Ultra 5 box.
Hello,
Good day to you.
I have issues with redirecting display output to my console server (which is configured with cyclades switch) on a newly installed solaris 10, Ultra 5 box.
I could access the output display on the monitor when I connect it directly to the serial port. But I also have my parallel port connected to cyclades switch which is primarily being used for accessing multiple servers thro' one single console server.
When I try to access my ultra 5 box thro' console server, the display not getting redirected over there..I did checked the port from cyclades switch front, it did work well with other machines.
Looks like some work needs to be done at Ultra 5 box level so that the parallel port can send output signals to the respective port on cyclades switch and consequently to the console server.
Any thoughts ??
Thanks.Hi,
Good day to you.
Apologize for quoting "Parallel" port. It is a in-built 25pin serial connector placed next to regular 15 pin serial port.
Just to make a point here, this 25 pin serial connector has an external converter attached with other side having RJ45 jack.
CAT5 cable connected between switch port to this RJ45 jack.
I did tested this converter with another machine and could able to access the display on my console server. So it seems to be the connectivity from serial port to switch port works fine.
Adding to that, this ultra 5 box with the current connectivity set up was working fine until I rebuild this machine. I was very well accessing this box thro my console server. There was no changes done except rebuilding the operating system.
I think some work needs to be done at the ultra 5 box level to get this 25pin serial connector to act.
Thanks. -
Problem In report output display when i run in the background
Hi,
In a classical report i am printing around 17 fields the width of the report out put is around 800 characters.
If i run the report in the fore ground it running perfectly. But the thing is when i give large selection is it GETTING ' TIMED OUT ' as it is running more than an Hour.
so i wanted to run it in the back ground to avoid TIME OUT problems.
But when i run in the backgroud i am not getting full out put in the SPOOL request(SIZE of the report output may causing the problem) .
Pls come up with some solutions
Thanks in advanceTry increasing the spool length..
Refer this link for doing so.
Spool List output display > 255 char when the rpt is run in Background
Thanks
mahesh -
For output display report is final_internal table or structure in wd ABAP?
Hi all,
for output display report is final_internal table or structure in wd ABAP?
in wd java output display report -.> CALLING rfc and that RFC OUTPUT table
finally in internal table is assigned to STRUCTURE .Same procdure?
Thanks,
RAMADear Madhu,
thanks for guidence!
its showing popup tht this BADI ( ME_CHANGE_OUTTAB_CUS ) is only use for "SAP Internal use".
Regards,
Praphull -
Installing J2SE 1.4.2 SDK and netbeans 3.6 bundle
I downloaded the bundle and a different computer and burned it to a CD. I brought It home and tried to install it straight from the CD, the computer said that It didnt have enough space on D:\. So I copied the bundle to C: and tried to install. Apart from the fact that the installer doent refresh leaving the image all over the screen. It seems to freeze at 48% on the install log. It installs some files in the netbeans and j2sdk1.4 directories but nowhere near all.
I should mention that I use Windows XP home and when I try to end the task of installing it tells me that I cannot exit the installation just as It would If I had just closed the Window.Hello, I am having the same problem he is when installing the J2SE 1.4.2 SDK + NetBeans 3.6 where I get the warning:
WARNING: D:\ partition has insufficient space to install the items selected. 102 MB additional space would be needed to install the selected items.
Should I try copying it into C: drive or install them separately without the bundle?
Thanks,
Taylor -
Bold font in report output display
Dear All,
Will any one let me know how to set BOLD font in the report output display?
Thanks,
Ranjan<b>u cannot use this in 4.7</b>
REPORT ZFONT NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
Start of print-control
NEW-PAGE PRINT ON.
PRINT-CONTROL FUNCTION 'SF000'.
WRITE: / 'This is CPI 20'.
SKIP.
PRINT-CONTROL FUNCTION 'SF020'.
WRITE: / 'This is CPI 6'.
SKIP.
PRINT-CONTROL FUNCTION 'SF008'.
WRITE: / 'This is CPI 12'.
Depending on your SAP printer device, this may also work
PRINT-CONTROL FONT 1 LPI 6.
you can try to change font and LPI numbers
WRITE: / 'font 1 lpi 6'.
PRINT-CONTROL FONT 2 LPI 6.
WRITE: / 'font 2 lpi 6'.
PRINT-CONTROL FONT 3 LPI 6.
WRITE: / 'font 3 lpi 6'.
End of print-control
NEW-PAGE PRINT OFF.
*--- End of Program -
Delete modify in itab output display
hi,
i am create a query for delete data from database table by using an internal table i am delete data from DB table but a problem are come as in output display
i am showing the
NUMBER OF ENTRIES ARE DELETE FROM TABLE: 2
NUMBER OF ENTRIES ARE REMAIN IN TABLE AFTER DELETEION:
seletion screen contains
SELECT-OPTIONS: s_ordid FOR zapolp22-ordid, "APO order id
s_matnr FOR zapolp22-matnr, "Material Number
s_locto FOR zapolp22-locto. "APO Destination location
PARAMETERS: p_days TYPE i. "Number of days
the problem are as:
if i am given only P-days parameter value 3
than it works as fine
showing output right as 2 rows are deleted
and 8 rows are remains in table
if i given all fields fill up in selection screen
as s_ordid----->4516 to 4517
s_matnr---->85503 to 85505
s_locto------> m100 to m101
p_days----> 2
then i get output display as
number of entries are deleted 2
number of entries are remain in table 0.
but the 2 rows are deleted from DB table and 8 rows are remain in table but it not show the 8 rows on display screen it shows zero.
my code is as:
DATA: lv_count TYPE i,
lv_count1 TYPE i.
DATA: lv_date TYPE sy-datum.
SELECT mandt
ordid
schedid
matnr
locto
lfmng
lfdat
locfr
rqmng
rqdat AS lv_date
prckz
blkstk
oppdelqty
zzapologmod
zzflagurgent
zzapottype
zzndays_l_time
FROM zapolp22 INTO TABLE lt_output
WHERE ordid IN s_ordid AND
matnr IN s_matnr AND
locto IN s_locto.
SORT lt_output[] BY rqdat.
>Number OF Days to be Counted
lv_date = sy-datum - p_days.
LOOP AT lt_output.
IF lt_output-rqdat LT lv_date.
MOVE-CORRESPONDING lt_output TO lt_delete.
APPEND lt_delete.
lv_count = lv_count + 1.
ELSE.
lv_count1 = lv_count1 + 1.
ENDIF.
endloop.
DELETE FROM zapolp22 WHERE rqdat LT lv_date AND
ordid IN s_ordid AND
matnr IN s_matnr AND
locto IN s_locto.
IF sy-subrc = 0.
WRITE:/25 'Number of entries deleted :', lv_count.
WRITE:/25 'Number of entries remaining :', lv_count1.
ELSEIF sy-subrc NE 0.
WRITE:/ 'No data are selected for delete'.
ENDIF.
Tell me where in this code i do mistake.
Thanks jayant.I don't know the contents of the table, but if you increase the number of restrictions in the SELECT statement, it will probably have lesser entries.
Now, you are not really counting the total number of rows left in the table, but the total number of rows in the table that match the criterion.
Basically, the first time (with lesser options) 10 rows are put into internal table, and 2 are deleted. So 8 are left.
In the second time, only 4 rows are getting selected, of which 2 are deleted, and 2 are left in the internal table NOT in the database table. In the database table, more rows are left (because they never got selected into the itab)
But if you want to count the total number of rows left in the DB, its better to count the number of rows in the end of the program with:
SELECT COUNT(*) FROM dbtab INTO lv_integer.
This can be pretty slow if the table is huge. -
hi
i'm doing an ALV Report. In the output i'm double clicking on the Document field using user-command
it is taking me to a particular Transaction and my requirement is if i change any field for ex : Description
in that transaction and come back again to the output display the Changed Description should appear
when i refresh the Output.how to get it?
Regards1. create one icon on allication toolbar which is REFRESH icon, and give some function for it.
2. write the code like:
CASE SY_UCOMM.
when 'FCODE'.
refresh itab.
perform get_data.
perform_displaydata.
it is nothing but u need to put the same code which u used earlier to show the data in output gaian after clicking on function code.
Regards,
Rajesh. -
Download List output displayed
Hi Friends,
I want to donwload the list output displayed from the Report program with the exisitng formatting structure (displayed).
1)From SAP menu we can click on System > List > Save > Local file to download the file locally.
2) I want to obtain same functionality as mentioned in point 1 through a button on tool bar.
I dont want to prepare any internal table locally with the same data that is displayed on the screen, in the same formatting structure and Download, which is similar to a local download functionality.
Please let me know ur suggestions.
Regards,
Lavanya.Then you have to display your O/p in the ALV display ...
so that you can achive your requirement ..Because the ALV has the similar icon for downloading to pc ..etc
by Normal reporting you cannot get this Option .in the Application tool bar . one is there as you menioned
From SAP menu we can click on System > List > Save > Local file to download the file locally.
because by pacing the icon in the Apllication bar it will not call the path ..etc. you have to do the coding ...instead of that ALV is best .
But in the ALV it is there in the standard ALV GRID with Downlaod icon , summation,scroldown ,sorting (A/D) ,etc...
reward points if it is usefull ..
Girish -
Hi,
i create a programm use alv but a problem occurs
in my output display there is a quantity field KONV-KBETR
o/p come as 100,00 (COMMA)
but i want it come as 100.00 it come in decimal
plz give me a solution for this.
Thanks,
ajay>
ajay kumar wrote:
> plz give me codes notation for this i am not use user settings.
>
> thanks
> ajay
Why not with User Settings?
Else Press F1 on replace all occurances and code. -
Currently my system installed J2SE 1.5.0_08 SDK and Java Studio Enterprise 8. My OS is Windows XP Professional Edition.
I want to start to learn J2EE. I read the software requirement in the J2EE tutorial and it asked me to install J2EE 1.4 SDK package which contains System Application Server Platform Edition 8.2 and J2SE SDK.
Refer to : http://java.sun.com/j2ee/1.4/docs/tutorial/doc/
Its quite confusing me. The question is:
1) Do i need to install the J2EE 1.4 SDK cause I already installed J2SE SDK?
2) I have Java Studio Enterprise 8, do i still need to install the System Application Server Platform Edition 8.2? Because i saw inside my Java Studio Enterprise 8 its contain the function to start and stop default application server. Can this be consider as the Java Application Server too?no i guess, since if u can start the server, why do u need to install j2ee sdk, one more thing, be carefull about the versions
u can check the version by going to the command prompt and type
java -version
there it shows the version of the jvm u r using, but see that u set the java home to point to the same version even if u have different jdk's installed on the same machine
i am not sure what other thing this j2eesdk gives besides normal things which comes with sun studio, u can always try it if u want to but be careful about the JAVA_HOME settings -
After Effects warning: couldn't set Quicktime video output display mode
After Effects warning: couldn't set Quicktime video output display mode
I'm getting this error when exporting video from after effects. I also get it when the program starts up. I'm using Windows XP. Cannot find anything about a fix anywhere. Does anyone know how to fix this?Thanks for your reply. I profess ignorance regarding the GDI only mode and have no idea how to access that. Can you give me a little more info on that?
I am using an ATI Radeon HD 3850. I have two monitors on that card, Monitor one is a Trinitron HP 1130 CRT.(set to 1280x1024 16bit) The other is DVI wide screen Ilo 26 inch monitor. (1024x768 at 32 bit)
I have a BlackMagic Design DECKLINK standard definition broadcast card which outputs component video to a sony broadcast Beta deck. 480ix720 standard video.
The machine has a gigabyte motherboard. Intel Core 2 quad cpu 2.66 ghz
2.50 gb ram reported (4gigs installed)
These hasn't been a major issue as I can still output AVI uncompressed but it is annoying.
John -
Spool List output display 255 chars
Hi,
I am execuing the my report in back groung.The oupt list has more than 255 chars.
could u please let me know how Spool List output display > 255 char when the rpt is run in back ground.
regards,
Rayeez.Hello,
Try using the printer formatting as X_65_255.
Please check this [link|Report is truncating in background; for details.
BR,
Suhas
Maybe you are looking for
-
ITunes 9 install issues, now iTunes won't install at all. (Vista 64-bit)
I tried to upgrade to iTunes 9 today but it failed to install using the auto-update tool, so as the tool suggested, I tried going manual. It installed, but gave me the "iTunes requires a newer version of Apple Mobile Device Support." error every time
-
I am sure that my iphone 5 has a virus
In March 2014 my 16 month old iphone 5 suddenly went crazy and siri kept coming on and calling random people in my phone in the middle of the night and also random numbers. At this time also I notice that if I held my phone flat in front of me with
-
Any information Please ??
Hi I am trying to convert my jar file to a dll or ocx. But I missed my way !!!!!!! Which Java version is better for doing that ?...I have these 2 versions : j2sdk-1_4_2_02 and j2sdk-1_3_1_08 ; which one is better and easier to use ?? .... then are th
-
Default user folders on Leopard 10.5 clients
Environment: Mixed network, using AD for authentication and Xserve for Application control and home folders. When binding client to AD i am using AFP for home folder path. I do not allow mobil profiles and also not forcing local home. Problem: When u
-
*Shocked* by the performance of Canon DPP, and DDP workflow with Aperture
I love Aperture. My brother mercilessly hounded me for two years, and when Aperture 2 came out, I gave it a shot. Aperture 3, despite my nightmare conversion story, has been a dream come true . . . until I discovered sharpening. In my quest to get sh