Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 3rd, 2006, 4:15 PM   #1
bae
Newbie
 
Join Date: Apr 2005
Posts: 17
Rep Power: 0 bae is on a distinguished road
The Logo?

Do all java executable files have the JAva Logo (the cup of steaming java) in the top left corner?
bae is offline   Reply With Quote
Old Jan 3rd, 2006, 4:36 PM   #2
elford
Programmer
 
elford's Avatar
 
Join Date: Nov 2005
Posts: 35
Rep Power: 0 elford is on a distinguished road
Some do, some don't. Most users don't know how to launch a Java application on their system, and I think this is the reason. JAR files, which are essentially executable java zip files, on my system have a generic icon from Windows that most people wouldn't know they are related to Java. On the other hand, I know Jar files on Mac have the logo you describe, so it's a clearer indicator that it is an executable Java file.
elford is offline   Reply With Quote
Old Jan 3rd, 2006, 5:44 PM   #3
B3TA_SCR1PT3R
Hobbyist Programmer
 
B3TA_SCR1PT3R's Avatar
 
Join Date: Jul 2005
Location: Dallas, Texas
Posts: 101
Rep Power: 0 B3TA_SCR1PT3R is an unknown quantity at this point
Send a message via AIM to B3TA_SCR1PT3R
Quote:
Originally Posted by bae
Do all java executable files have the JAva Logo (the cup of steaming java) in the top left corner?
mainly the ones you get from sun.com will have that, just cause its their logo or watever. jar files default to the (on windows) rich edit icon (or watever its called), not sure about other OS's, but when you compile a Jar through command line, IIRC you can define the icon you want, and that will apear in the top left of the GUI and on desktop or whereever
__________________
Hoes telling me to calm down but I'm like fuck that shit!
B3TA_SCR1PT3R is offline   Reply With Quote
Old Jan 3rd, 2006, 7:00 PM   #4
bae
Newbie
 
Join Date: Apr 2005
Posts: 17
Rep Power: 0 bae is on a distinguished road
does the same apply in C++?
(is it there a similar sitiuation?)
bae is offline   Reply With Quote
Old Jan 3rd, 2006, 7:06 PM   #5
elford
Programmer
 
elford's Avatar
 
Join Date: Nov 2005
Posts: 35
Rep Power: 0 elford is on a distinguished road
Quote:
Originally Posted by bae
does the same apply in C++?
(is it there a similar sitiuation?)
It's totally different in C++. When you compile in C++, you wind up with an .out file (*nix) or an obj file (Windows). I'm not too familiar about C++ on Windows, but the .out file on Unix is executable...on Windows, I'm not sure...last time I compiled a C program on Windows, I had to link all of my obj files together to make them executable.

At any rate, on Windows, executable programs have either an icon defined by the executable itself (look at any EXE file in Program Files), or will have an icon that looks like a box with a blue bar across the top (it looks like a window).
elford is offline   Reply With Quote
Old Jan 3rd, 2006, 7:07 PM   #6
elford
Programmer
 
elford's Avatar
 
Join Date: Nov 2005
Posts: 35
Rep Power: 0 elford is on a distinguished road
Curiously, do you have a specific reason for asking about the icons?
elford is offline   Reply With Quote
Old Jan 4th, 2006, 1:37 AM   #7
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
On windows, after C++ goes through the compiler and linker without any errors it makes an executable file (.exe).

On *nix it doesn't need a file extension, i could call my executable binary hello.txt and it woudl still be a binary.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:11 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC