Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NetBeans - source/binary format question  RSS feed

 
James Brooks
Gunslinger
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Under 'properties' of any NetBeans project, there is a selection of source code/binary version. If I were to use an older version, would I pay a performance penalty similar to that of using an earlier version VM? This is for a school project; I want to compare execution times between different versions, and also between Java and other languages. I know some of you out there know this, so I thank you in advance for responding!

-Patrick
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to compare the execution times between different JDK versions, you should change the Java platform and not the source/binary format.

In the NetBeans, do the following:
1. Right click on the project->Properties->Libraries
2. There you can change the Java platform.

To add a new Java platform:
1. Click Tools->Java Platform.
2. Add Add Platform.
3. Select the Java Standard Edition.
4. Specify the JDK installation.

Hope this helps.
 
James Brooks
Gunslinger
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alright, that's what I was looking for! Thank you, sir!

Freddy Wong wrote:If you want to compare the execution times between different JDK versions, you should change the Java platform and not the source/binary format.

In the NetBeans, do the following:
1. Right click on the project->Properties->Libraries
2. There you can change the Java platform.

To add a new Java platform:
1. Click Tools->Java Platform.
2. Add Add Platform.
3. Select the Java Standard Edition.
4. Specify the JDK installation.

Hope this helps.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!