Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

repositories and java version

Ramses Znagui Hassani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 29, 2019

Hello,

 

I'm new here so sorry if my question seems very basic.

I'm working with a friend on a Java app and he pushed the code on bitbucket.

I pull the code from the repo on my computer, but the code doesn't work on my side.

It works well on his computer.

So, I suspect some class files from the repo are not recognized or compatible with my java compiler version.

Is it possible?

So, then it is mandatory that we both work with the exact same Java version, otherwise it won't work?

If it is still possible, how to do that?

 

Thanks,

 

1 answer

0 votes
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 20, 2019

Hi @Ramses Znagui Hassani,

Well, this is a very generic question, there can be many many reasons for this:

  • missed some Java files when checked in the code to the repository
  • some libraries exist on one machine but not the other
  • Java version might be a thing too
  • ...

It's impossible to tell what went wrong without any actual error message. Java is very good at describing the problem, so it should give a clue of what isn't working.

Hope this helps.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events